Skip to contentSkip to conversation

imx: ventana: re-enable late board info display

PATCH New Tim Harvey 2 participants 2 messages Jun 29, 2016 – Jul 28, 2016

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 imx: ventana: re-enable late board info display

3b1f681131149b5f62602f582a7e60b0185a2a49 caused a regression that removes board info dispaly for Gateworks Ventana boards because it made the invalid assumption that CONFIG_DISPLAY_BOARDINFO_LATE was the same thing as CONFIG_DISPLAY_BOARDINFO.

Ventana needs to call show_board_info in late init because we need to have the i2c eeprom based model info. Re-define CONFIG_DISPLAY_BOARDINFO_LATE to allow that to happen.

Cc Peter Robinson <[email protected]>
---
 include/configs/gw_ventana.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/gw_ventana.h +2 -0
index 4acfca6..343f3c5 100644
@@ -33,6 +33,8 @@
 #include "imx6_spl.h"                  /* common IMX6 SPL configuration */
 #include "mx6_common.h"
 #undef CONFIG_SPL_EXT_SUPPORT
+#undef CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_DISPLAY_BOARDINFO_LATE
 
 #define CONFIG_MACH_TYPE	4520   /* Gateworks Ventana Platform */
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 imx: ventana: re-enable late board info display

Quoted 21 lines · Tim Harvey

3b1f681131149b5f62602f582a7e60b0185a2a49 caused a regression that removes board info dispaly for Gateworks Ventana boards because it made the invalid assumption that CONFIG_DISPLAY_BOARDINFO_LATE was the same thing as CONFIG_DISPLAY_BOARDINFO.

Ventana needs to call show_board_info in late init because we need to have the i2c eeprom based model info. Re-define CONFIG_DISPLAY_BOARDINFO_LATE to allow that to happen.

Cc Peter Robinson <[email protected]>
---
 include/configs/gw_ventana.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/gw_ventana.h +0 -0
index 4acfca6..343f3c5 100644

include/configs/gw_ventana.h line 40

Quoted 8 lines
include/configs/gw_ventana.h +2 -0
@@ -33,6 +33,8 @@
 #include "imx6_spl.h"                  /* common IMX6 SPL configuration */
 #include "mx6_common.h"
 #undef CONFIG_SPL_EXT_SUPPORT
+#undef CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_DISPLAY_BOARDINFO_LATE
 
 #define CONFIG_MACH_TYPE	4520   /* Gateworks Ventana Platform */
 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================