tegra: nand: add board pinmux
Boards may require a different pinmux setup for NAND than the default one. Add a way to call into board specific code to set this up. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
@@ -992,7 +992,6 @@ int tegra_nand_init(struct nand_chip *nand, int devnum)
|
||||
/* Adjust timing for NAND device */
|
||||
setup_timing(config->timing, info->reg);
|
||||
|
||||
funcmux_select(PERIPH_ID_NDFLASH, FUNCMUX_DEFAULT);
|
||||
fdtdec_setup_gpio(&config->wp_gpio);
|
||||
gpio_direction_output(config->wp_gpio.gpio, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user