diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-06-12 08:33:40 (GMT) |
---|---|---|
committer | Albert ARIBAUD (U-Boot) <uboot@lilith.(none)> | 2012-07-09 20:44:33 (GMT) |
commit | e02849488724bdfdc36ef8105c59a49986db3ebc (patch) | |
tree | 0e351950f2a34491c2c66ecccbe4674492e07527 /board/nvidia/common/board.c | |
parent | a016e144ed6a7e17774d3371c29544c329459667 (diff) | |
download | u-boot-fsl-qoriq-e02849488724bdfdc36ef8105c59a49986db3ebc.tar.xz |
tegra: add pin_mux_spi() board initialization function
Boards can override this to set up the pinmux correctly to access serial
flash.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/common/board.c')
-rw-r--r-- | board/nvidia/common/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index fc8b928..e65fc9e 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -64,6 +64,12 @@ void __pin_mux_usb(void) void pin_mux_usb(void) __attribute__((weak, alias("__pin_mux_usb"))); +void __pin_mux_spi(void) +{ +} + +void pin_mux_spi(void) __attribute__((weak, alias("__pin_mux_spi"))); + /* * Routine: power_det_init * Description: turn off power detects @@ -95,6 +101,7 @@ int board_init(void) gpio_config_uart(); #endif #ifdef CONFIG_TEGRA_SPI + pin_mux_spi(); spi_init(); #endif /* boot param addr */ |