diff options
Diffstat (limited to 'include/configs/seaboard.h')
| -rw-r--r-- | include/configs/seaboard.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 7e8c8cc51..261f9521a 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -52,6 +52,7 @@  #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0  #define CONFIG_CMD_SPI  #define CONFIG_CMD_SF +#define CONFIG_SPI_FLASH_SIZE		(4 << 20)  /* SD/MMC */  #define CONFIG_MMC @@ -63,4 +64,12 @@  #define CONFIG_EFI_PARTITION  #define CONFIG_CMD_EXT2  #define CONFIG_CMD_FAT + +/* Environment in SPI */ +#define CONFIG_ENV_IS_IN_SPI_FLASH +#define CONFIG_ENV_SPI_MAX_HZ		48000000 +#define CONFIG_ENV_SPI_MODE		SPI_MODE_0 + +#define CONFIG_ENV_SECT_SIZE    CONFIG_ENV_SIZE +#define CONFIG_ENV_OFFSET       (CONFIG_SPI_FLASH_SIZE - CONFIG_ENV_SECT_SIZE)  #endif /* __CONFIG_H */ |