diff --git a/common/startup.c b/common/startup.c index 8e1c299..3a37eed 100644 --- a/common/startup.c +++ b/common/startup.c @@ -35,6 +35,7 @@ #include #include #include +#include extern initcall_t __u_boot_initcalls_start[], __u_boot_early_initcalls_end[], __u_boot_initcalls_end[]; @@ -45,10 +46,15 @@ ulong mend = mem_malloc_end(); ulong msize = mend - mstart + 1; - debug ("U-Boot code: 0x%08lX -> 0x%08lX BSS: -> 0x%08lX\n", + debug("U-Boot code : 0x%08lX -> 0x%08lX BSS: -> 0x%08lX\n", _u_boot_start, _bss_start, _bss_end); - printf("Malloc Space: 0x%08lx -> 0x%08lx (size %s)\n", + printf("Malloc space: 0x%08lx -> 0x%08lx (size %s)\n", mstart, mend, size_human_readable(msize)); +#ifdef CONFIG_ARM + printf("Stack space : 0x%08lx -> 0x%08lx (size %s)\n", + STACK_BASE, STACK_BASE + STACK_SIZE, + size_human_readable(STACK_SIZE)); +#endif } #ifdef CONFIG_HAS_EARLY_INIT @@ -64,9 +70,6 @@ memcpy((void *)EARLY_INITDATA, RELOC(&__early_init_data_begin), (ulong)&__early_init_data_end - (ulong)&__early_init_data_begin); - - early_console_start(RELOC(CONFIG_EARLY_CONSOLE_PORT), - CONFIG_EARLY_CONSOLE_BAUDRATE); } #endif /* CONFIG_HAS_EARLY_INIT */