diff options
author | Tim Harvey <tharvey@gateworks.com> | 2015-05-09 01:28:39 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-15 17:21:26 (GMT) |
commit | c4b44d76998b9abdca09093d044a39e4c773052f (patch) | |
tree | 44381c37b80d0d0d6cfda173de6866b6183ae978 /board/gateworks/gw_ventana | |
parent | 2089b7be2b50078ef27a26fe627173535d13e5ee (diff) | |
download | u-boot-c4b44d76998b9abdca09093d044a39e4c773052f.tar.xz |
imx: ventana: add gpio setup to SPL
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 <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana')
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana_spl.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |