move early_printk stuff into a separate file