diff options
author | Tom Rini <trini@ti.com> | 2012-08-09 01:35:55 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 16:58:19 +0400 |
commit | a4a99fffd8a006d99958e5bcded36d7e7218bd36 (patch) | |
tree | 66c7a842c1a7890688cd0d7b04fc503f106efb33 /include/configs/am335x_evm.h | |
parent | 4c0620bf42172325ea0c6afa0fdd362bb264e31b (diff) | |
download | u-boot-a4a99fffd8a006d99958e5bcded36d7e7218bd36.tar.xz |
am335x evm: Enable support for spi0
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r-- | include/configs/am335x_evm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index c827ebfce7..2bfe8c6dcd 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -134,6 +134,14 @@ #define CONFIG_CMD_FAT #define CONFIG_CMD_EXT2 +#define CONFIG_SPI +#define CONFIG_OMAP3_SPI +#define CONFIG_MTD_DEVICE +#define CONFIG_SPI_FLASH +#define CONFIG_SPI_FLASH_WINBOND +#define CONFIG_CMD_SF +#define CONFIG_SF_DEFAULT_SPEED (24000000) + /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ #define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */ @@ -163,6 +171,7 @@ #define CONFIG_I2C_MULTI_BUS #define CONFIG_DRIVER_OMAP24XX_I2C #define CONFIG_CMD_EEPROM +#define CONFIG_ENV_EEPROM_IS_ON_I2C #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* Main EEPROM */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 #define CONFIG_SYS_I2C_MULTI_EEPROMS |