From 9112ef8d89e3e496ba6f73276f17dd5c2b93877f Mon Sep 17 00:00:00 2001 From: Tom Warren Date: Sat, 5 Nov 2011 09:48:11 +0000 Subject: tegra2: spi: Add SPI driver for Tegra2 SOC This driver supports SPI on Tegra2, running at 48MHz. Signed-off-by: Tom Warren Acked-by: Mike Frysinger --- board/nvidia/common/board.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/nvidia/common/board.c') diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 4c29167316..6a1312c5aa 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -31,6 +31,7 @@ #include #include #include +#include #include "board.h" DECLARE_GLOBAL_DATA_PTR; @@ -114,6 +115,9 @@ int board_init(void) clock_init(); clock_verify(); +#ifdef CONFIG_TEGRA2_SPI + spi_init(); +#endif /* boot param addr */ gd->bd->bi_boot_params = (NV_PA_SDRAM_BASE + 0x100); -- cgit v1.2.1