diff mbox

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

Message ID 20151213002851.240EE2151C@mail.nwl.cc
State Superseded
Delegated to: Prafulla Wadaskar
Headers show

Commit Message

Phil Sutter Dec. 13, 2015, 12:29 a.m. UTC
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

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
 }