Merge branch 'master' of git://git.denx.de/u-boot-nds32
[oweals/u-boot.git] / arch / arm / cpu / armv7 / omap-common / spl.c
index 6b54ac7f018efe6c419f4acd54db2d14fd06ed80..0f2e0a2d27fdc588cbdb89a89951950693cf8882 100644 (file)
@@ -101,7 +101,7 @@ void spl_parse_image_header(const struct image_header *header)
                /* Signature not found - assume u-boot.bin */
                printf("mkimage signature not found - ih_magic = %x\n",
                        header->ih_magic);
-               puts("Assuming u-boot.bin ..\n");
+               debug("Assuming u-boot.bin ..\n");
                /* Let's assume U-Boot will not be more than 200 KB */
                spl_image.size = 200 * 1024;
                spl_image.entry_point = CONFIG_SYS_TEXT_BASE;
@@ -124,7 +124,7 @@ static void __noreturn jump_to_image_linux(void *arg)
                __attribute__ ((noreturn));
        image_entry_arg_t image_entry =
                (image_entry_arg_t) spl_image.entry_point;
-       /* cleanup_before_linux(); */ /*write SPL function for that*/
+       cleanup_before_linux();
        image_entry(0, CONFIG_MACH_TYPE, arg);
 }
 #endif