]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
imx: ventana: add gpio setup to SPL
authorTim Harvey <tharvey@gateworks.com>
Sat, 9 May 2015 01:28:39 +0000 (18:28 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 13:00:30 +0000 (15:00 +0200)
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>
board/gateworks/gw_ventana/gw_ventana_spl.c

index 82078a0c5ed24823a6a162de1920f215d913b84e..cde04cfacc22a2ac4e3cb5b888c00e735636bbf0 100644 (file)
@@ -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;