From: Tim Harvey Date: Fri, 8 May 2015 18:28:39 -0700 Subject: [U-Boot] [PATCH 16/19] imx: ventana: add gpio setup to SPL In-Reply-To: <1431134922-2535-1-git-send-email-tharvey@gateworks.com> References: <1431134922-2535-1-git-send-email-tharvey@gateworks.com> Message-ID: <1431134922-2535-17-git-send-email-tharvey@gateworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de If the SPL is to be used for Falcon mode then we need to make sure it configures basic GPIO (iomux, padconf, and default output levels). Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana_spl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c index 82078a0..cde04cf 100644 --- a/board/gateworks/gw_ventana/gw_ventana_spl.c +++ b/board/gateworks/gw_ventana/gw_ventana_spl.c @@ -510,6 +510,9 @@ void board_init_f(ulong dummy) /* read/validate EEPROM info to determine board model and SDRAM cfg */ board_model = read_eeprom(CONFIG_I2C_GSC, &ventana_info); + /* configure model-specific gpio */ + setup_iomux_gpio(board_model, &ventana_info); + /* provide some some default: 32bit 128MB */ if (GW_UNKNOWN == board_model) { ventana_info.sdram_width = 2; -- 1.9.1