Skip to content
Snippets Groups Projects
Commit 18a40e84 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Tom Rini
Browse files

sh: define CONFIG_DISPLAY_BOARDINFO to print board information


All SH boards define a checkboard() function which outputs basic board
information on boot, however generic board support requires to define
CONFIG_DISPLAY_BOARDINFO to do that, so define it for the boards.

Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 9079acba
No related branches found
No related tags found
No related merge requests found
Showing
with 26 additions and 0 deletions
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC0,115200 root=1f01" #define CONFIG_BOOTARGS "console=ttySC0,115200 root=1f01"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* SMC9111 */ /* SMC9111 */
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#define CONFIG_BAUDRATE 38400 #define CONFIG_BAUDRATE 38400
#define CONFIG_BOOTARGS "console=ttySC2,38400" #define CONFIG_BOOTARGS "console=ttySC2,38400"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* SMC9118 */ /* SMC9118 */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC4,115200" #define CONFIG_BOOTARGS "console=ttySC4,115200"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* Ether */ /* Ether */
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC0,115200" #define CONFIG_BOOTARGS "console=ttySC0,115200"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* I2C */ /* I2C */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define CONFIG_BOOTARGS "console=ttySC0,115200 root=1f01" #define CONFIG_BOOTARGS "console=ttySC0,115200 root=1f01"
#define CONFIG_ENV_OVERWRITE 1 #define CONFIG_ENV_OVERWRITE 1
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* SCIF */ /* SCIF */
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
#define CONFIG_CPU_SH7720 1 #define CONFIG_CPU_SH7720 1
#define CONFIG_MPR2 1 #define CONFIG_MPR2 1
#define CONFIG_DISPLAY_BOARDINFO
/* U-Boot internals */ /* U-Boot internals */
#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_LONGHELP /* undef to save memory */
#define CONFIG_SYS_CBSIZE 256 /* Buffer size for input from the Console */ #define CONFIG_SYS_CBSIZE 256 /* Buffer size for input from the Console */
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#define CONFIG_BOOTFILE "/boot/zImage" #define CONFIG_BOOTFILE "/boot/zImage"
#define CONFIG_LOADADDR 0x8E000000 #define CONFIG_LOADADDR 0x8E000000
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* MEMORY */ /* MEMORY */
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC0,115200 root=1f01" #define CONFIG_BOOTARGS "console=ttySC0,115200 root=1f01"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* SMC9111 */ /* SMC9111 */
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#define CONFIG_MS7750SE 1 #define CONFIG_MS7750SE 1
#define __LITTLE_ENDIAN__ 1 #define __LITTLE_ENDIAN__ 1
#define CONFIG_DISPLAY_BOARDINFO
/* /*
* Command line configuration. * Command line configuration.
*/ */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC3,115200" #define CONFIG_BOOTARGS "console=ttySC3,115200"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* Ether */ /* Ether */
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#define CONFIG_R2DPLUS 1 #define CONFIG_R2DPLUS 1
#define __LITTLE_ENDIAN__ 1 #define __LITTLE_ENDIAN__ 1
#define CONFIG_DISPLAY_BOARDINFO
/* /*
* Command line configuration. * Command line configuration.
*/ */
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#define CONFIG_SYS_R7780MP_OLD_FLASH 1 #define CONFIG_SYS_R7780MP_OLD_FLASH 1
#define __LITTLE_ENDIAN__ 1 #define __LITTLE_ENDIAN__ 1
#define CONFIG_DISPLAY_BOARDINFO
/* /*
* Command line configuration. * Command line configuration.
*/ */
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#define CONFIG_BOOTARGS "console=ttySC0,115200" #define CONFIG_BOOTARGS "console=ttySC0,115200"
#define CONFIG_LOADADDR 0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */ #define CONFIG_LOADADDR 0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* MEMORY */ /* MEMORY */
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#define CONFIG_CPU_SH7264 1 #define CONFIG_CPU_SH7264 1
#define CONFIG_RSK7264 1 #define CONFIG_RSK7264 1
#define CONFIG_DISPLAY_BOARDINFO
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC3,115200" #define CONFIG_BOOTARGS "console=ttySC3,115200"
#define CONFIG_SYS_BAUDRATE_TABLE { CONFIG_BAUDRATE } #define CONFIG_SYS_BAUDRATE_TABLE { CONFIG_BAUDRATE }
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
#define CONFIG_CPU_SH7269 1 #define CONFIG_CPU_SH7269 1
#define CONFIG_RSK7269 1 #define CONFIG_RSK7269 1
#define CONFIG_DISPLAY_BOARDINFO
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC7,115200" #define CONFIG_BOOTARGS "console=ttySC7,115200"
#define CONFIG_SYS_BAUDRATE_TABLE { CONFIG_BAUDRATE } #define CONFIG_SYS_BAUDRATE_TABLE { CONFIG_BAUDRATE }
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC2,115200 root=/dev/nfs ip=dhcp" #define CONFIG_BOOTARGS "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
#define CONFIG_CMDLINE_EDITING #define CONFIG_CMDLINE_EDITING
#define CONFIG_AUTO_COMPLETE #define CONFIG_AUTO_COMPLETE
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC2,115200 root=/dev/nfs ip=dhcp" #define CONFIG_BOOTARGS "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
#define CONFIG_CMDLINE_EDITING #define CONFIG_CMDLINE_EDITING
#define CONFIG_AUTO_COMPLETE #define CONFIG_AUTO_COMPLETE
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC2,115200 root=/dev/nfs ip=dhcp" #define CONFIG_BOOTARGS "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* MEMORY */ /* MEMORY */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define CONFIG_BOOTARGS "console=ttySC2,115200 root=1f01" #define CONFIG_BOOTARGS "console=ttySC2,115200 root=1f01"
#define CONFIG_ENV_OVERWRITE 1 #define CONFIG_ENV_OVERWRITE 1
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* SCIF */ /* SCIF */
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
"bootdevice=0:1\0" \ "bootdevice=0:1\0" \
"usbload=usb reset;usbboot;usb stop;bootm\0" "usbload=usb reset;usbboot;usb stop;bootm\0"
#define CONFIG_DISPLAY_BOARDINFO
#undef CONFIG_SHOW_BOOT_PROGRESS #undef CONFIG_SHOW_BOOT_PROGRESS
/* MEMORY */ /* MEMORY */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment