From: Simon Glass Date: Sat, 4 Jul 2015 00:28:23 +0000 (-0600) Subject: dm: spi: Enable environment for minnowmax X-Git-Tag: v2015.10-rc1~190^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5359f2e4dd11d7a1e980beadff22a6e25578ad4;p=platform%2Fkernel%2Fu-boot.git dm: spi: Enable environment for minnowmax Enable a SPI environment and store it in a suitable place. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Jagan Teki --- diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index 8ee84a6..e0f6f8a 100644 --- a/include/configs/minnowmax.h +++ b/include/configs/minnowmax.h @@ -62,8 +62,7 @@ /* Avoid a warning in the Realtek Ethernet driver */ #define CONFIG_SYS_CACHELINE_SIZE 16 -/* Environment in SPI flash is unsupported for now */ -#undef CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_IS_NOWHERE +#define CONFIG_ENV_SECT_SIZE 0x1000 +#define CONFIG_ENV_OFFSET 0x007fe000 #endif /* __CONFIG_H */