Blackfin arch: Print out debug info, as early as possible
[linux-drm-fsl-dcu.git] / arch / blackfin / mach-bf533 / head.S
index fa6dc0d8593b416d6fcfda3065a039c8debb17c9..1ded945a6fa0212973a122b24d022bd79751cd2c 100644 (file)
@@ -181,6 +181,12 @@ ENTRY(__start)
        fp = sp;
        usp = sp;
 
+#ifdef CONFIG_EARLY_PRINTK
+       SP += -12;
+       call _init_early_exception_vectors;
+       SP += 12;
+#endif
+
        /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */
        call _bf53x_relocate_l1_mem;
 #if CONFIG_BFIN_KERNEL_CLOCK