mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
a016e144ed
commit
e028494887
1 changed files with 7 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue