diff options
author | Tom Warren <twarren.nvidia@gmail.com> | 2011-04-28 07:55:13 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-24 09:55:48 -0700 |
commit | a14a954f1ed38a92f83a7b2861e438f21d728027 (patch) | |
tree | cc1da91bba04304ceb3ab5c4049d60dbb57b3160 /include/configs/seaboard.h | |
parent | a39ef1e73b8a8e9dd808ed7b7661ff0ba1ff8db7 (diff) |
spi: Tegra2: Add SPI driver for SPIFLASH on Seaboard
Change-Id: I306129ca7b8851639d7a062d877933e7c520c7ca
Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-on: http://gerrit.chromium.org/gerrit/190
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/seaboard.h')
-rw-r--r-- | include/configs/seaboard.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 696fbff1dd4..b50796334ba 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -41,9 +41,19 @@ #define CONFIG_SYS_BOARD_ODMDATA 0x300d8011 /* lp1, 1GB */ #define CONFIG_BOARD_EARLY_INIT_F + +/* GPIO */ #define CONFIG_TEGRA2_GPIO #define CONFIG_CMD_TEGRA2_GPIO_INFO +/* SPI */ +#define CONFIG_TEGRA2_SPI +#define CONFIG_SPI_FLASH +#define CONFIG_SPI_FLASH_WINBOND +#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 +#define CONFIG_CMD_SPI +#define CONFIG_CMD_SF + /* To select the order in which U-Boot sees USB ports */ #define CONFIG_TEGRA2_USB0 NV_PA_USB3_BASE #define CONFIG_TEGRA2_USB1 NV_PA_USB1_BASE |