]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: exynos: odroid-xu3: Display info late to have proper type
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 6 Mar 2019 18:37:52 +0000 (19:37 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 11 Mar 2019 06:53:19 +0000 (15:53 +0900)
Printing the "Type" of board requires proper detection of revision which
can happen only late because regulators are needed.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/board.c
configs/odroid-xu3_defconfig

index 58ecb22d75a1933aeccfa223f329b4ba00872a29..9adbd1e2cf951a73ec2c8b894c94e1d79ba43c87 100644 (file)
@@ -249,7 +249,7 @@ int board_eth_init(bd_t *bis)
        return 0;
 }
 
-#ifdef CONFIG_DISPLAY_BOARDINFO
+#if defined(CONFIG_DISPLAY_BOARDINFO) || defined(CONFIG_DISPLAY_BOARDINFO_LATE)
 int checkboard(void)
 {
        if (IS_ENABLED(CONFIG_BOARD_TYPES)) {
index e35f8d6dde7870705e20eab122c2479be48aabdc..682460a1934e0533c0500f582b19439bcbef79f3 100644 (file)
@@ -10,6 +10,8 @@ CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
+# CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_MISC_INIT_R=y
 CONFIG_BOARD_TYPES=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "