[U-Boot] [PATCH 07/11] mvebu: Fix shortcoming of Marvell BSP board detection

Phil Sutter phil at nwl.cc
Sun Dec 13 01:29:55 CET 2015


Signed-off-by: Phil Sutter <phil at nwl.cc>
---
 arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c
index 702273a..6c7738c 100644
--- a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c
+++ b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c
@@ -70,8 +70,9 @@ static u32 board_id_get(void)
 	/*
 	 * Return 0 here for custom board as this should not be used
 	 * for custom boards.
+	 * -- Spoke Marvell and forgot that DB_88F78XX0_BP_ID == 0.
 	 */
-	return 0;
+	return INVALID_BOARD_ID;
 #endif
 }
 
-- 
2.5.3



More information about the U-Boot mailing list