From: Hannes Petermaier Date: Tue, 3 Feb 2015 12:22:32 +0000 (+0100) Subject: board/BuR/tseries: Chg pinmux - use free NAND Pins in non NAND-config as GPIO X-Git-Tag: v2015.04-rc4~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71d75d16ef57d77c225e4329226ce4449c2834bc;p=u-boot board/BuR/tseries: Chg pinmux - use free NAND Pins in non NAND-config as GPIO On boards were we have no NAND-flash soldered, we want to use those free pins as regular gpio. Signed-off-by: Hannes Petermaier --- diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 36ee04cf98..330429acf9 100644 --- a/board/BuR/tseries/mux.c +++ b/board/BuR/tseries/mux.c @@ -168,7 +168,14 @@ static struct module_pin_mux gpIOs[] = { {OFFSET(mcasp0_axr0), (MODE(7) | PULLUDDIS) }, /* GPIO3_17 (MCASP0_AHCLKR) - ETH2_LEDY */ {OFFSET(mcasp0_ahclkr), (MODE(7) | PULLUDDIS) }, - +#ifndef CONFIG_NAND + /* GPIO2_3 - NAND_OE */ + {OFFSET(gpmc_oen_ren), (MODE(7) | PULLDOWN_EN | RXACTIVE)}, + /* GPIO2_4 - NAND_WEN */ + {OFFSET(gpmc_wen), (MODE(7) | PULLDOWN_EN | RXACTIVE)}, + /* GPIO2_5 - NAND_BE_CLE */ + {OFFSET(gpmc_be0n_cle), (MODE(7) | PULLDOWN_EN | RXACTIVE)}, +#endif {-1}, };