Commit d5359f2e4dd11d7a1e980beadff22a6e25578ad4
1 parent
5078792807
Exists in
v2017.01-smarct4x
and in
33 other branches
dm: spi: Enable environment for minnowmax
Enable a SPI environment and store it in a suitable place. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff
include/configs/minnowmax.h
| ... | ... | @@ -62,9 +62,8 @@ |
| 62 | 62 | /* Avoid a warning in the Realtek Ethernet driver */ |
| 63 | 63 | #define CONFIG_SYS_CACHELINE_SIZE 16 |
| 64 | 64 | |
| 65 | -/* Environment in SPI flash is unsupported for now */ | |
| 66 | -#undef CONFIG_ENV_IS_IN_SPI_FLASH | |
| 67 | -#define CONFIG_ENV_IS_NOWHERE | |
| 65 | +#define CONFIG_ENV_SECT_SIZE 0x1000 | |
| 66 | +#define CONFIG_ENV_OFFSET 0x007fe000 | |
| 68 | 67 | |
| 69 | 68 | #endif /* __CONFIG_H */ |