]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/blackfin/lib/board.c
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[people/ms/u-boot.git] / arch / blackfin / lib / board.c
index 47d487fae55daa04563ad16b4ae52fd9c844ce80..bfdb586b343804554cf2f016bedfc2f5ca475ee3 100644 (file)
 #include <common.h>
 #include <command.h>
 #include <stdio_dev.h>
+#include <serial.h>
 #include <environment.h>
 #include <malloc.h>
 #include <mmc.h>
 #include <net.h>
-#include <timestamp.h>
 #include <status_led.h>
 #include <version.h>
 
@@ -39,8 +39,6 @@ int post_flag;
 
 DECLARE_GLOBAL_DATA_PTR;
 
-const char version_string[] = U_BOOT_VERSION " ("U_BOOT_DATE" - "U_BOOT_TIME")";
-
 __attribute__((always_inline))
 static inline void serial_early_puts(const char *s)
 {
@@ -52,7 +50,7 @@ static inline void serial_early_puts(const char *s)
 
 static int display_banner(void)
 {
-       printf("\n\n%s\n\n", version_string);
+       display_options();
        printf("CPU:   ADSP %s "
                "(Detected Rev: 0.%d) "
                "(%s boot)\n",
@@ -265,6 +263,9 @@ void board_init_f(ulong bootflag)
        init_baudrate();
        serial_early_puts("Serial init\n");
        serial_init();
+#ifdef CONFIG_SERIAL_MULTI
+       serial_initialize();
+#endif
        serial_early_puts("Console init flash\n");
        console_init_f();
        serial_early_puts("End of early debugging\n");
@@ -390,7 +391,7 @@ void board_init_r(gd_t * id, ulong dest_addr)
                post_run(NULL, POST_RAM | post_bootmode_get(0));
 #endif
 
-       if (bfin_os_log_check()) {
+       if (CONFIG_MEM_SIZE && bfin_os_log_check()) {
                puts("\nLog buffer from operating system:\n");
                bfin_os_log_dump();
                puts("\n");