diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2014-09-30 13:23:54 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-10 09:44:44 -0400 |
commit | cf7d4505e3403a4ce039dc28c3a473414e7ea6a5 (patch) | |
tree | 7482822cfdc3f086f600ac541f2f44c6cce05e8e /board/mpl/pati | |
parent | 6c4c9a7c0fc54760370ad0b09fba11fd2bc9717f (diff) | |
download | u-boot-imx-cf7d4505e3403a4ce039dc28c3a473414e7ea6a5.zip u-boot-imx-cf7d4505e3403a4ce039dc28c3a473414e7ea6a5.tar.gz u-boot-imx-cf7d4505e3403a4ce039dc28c3a473414e7ea6a5.tar.bz2 |
PATI: fix broken SPI access
fix broken SPI access by adding/activating BOARD_EARLY_INIT_F
functionality and calling spi_init_f() from there.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'board/mpl/pati')
-rw-r--r-- | board/mpl/pati/pati.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/mpl/pati/pati.c b/board/mpl/pati/pati.c index 5d701a7..b9d88ee 100644 --- a/board/mpl/pati/pati.c +++ b/board/mpl/pati/pati.c @@ -311,6 +311,11 @@ void user_led1(int led_on) sysconf->sc_sgpiodt2=reg; /* Data register */ } +int board_early_init_f(void) +{ + spi_init_f(); + return 0; +} /**************************************************************** * Last Stage Init |