From: Simon Glass Date: Sat, 5 Nov 2011 04:46:47 +0000 (+0000) Subject: tegra2: config: Enable SPI flash on Seaboard X-Git-Tag: v2012.04-rc1~329^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf80088ac0f0a753f986d663dbf24327680e4533;p=platform%2Fkernel%2Fu-boot.git tegra2: config: Enable SPI flash on Seaboard The Seaboard includes a Winbond 4MB flash part. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 7d29144..7e8c8cc 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -37,11 +37,22 @@ #define CONFIG_TEGRA2_ENABLE_UARTD #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE +/* On Seaboard: GPIO_PI3 = Port I = 8, bit = 3 */ +#define CONFIG_UART_DISABLE_GPIO GPIO_PI3 + #define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD #define CONFIG_SYS_BOARD_ODMDATA 0x300d8011 /* lp1, 1GB */ #define CONFIG_BOARD_EARLY_INIT_F +/* 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 + /* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC