]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: zynq: Wire-up saving environment to QSPI
authorMichal Simek <monstr@monstr.eu>
Sat, 13 Feb 2016 11:02:53 +0000 (12:02 +0100)
committerJagan Teki <jteki@openedev.com>
Tue, 23 Feb 2016 10:44:45 +0000 (16:14 +0530)
Extend options for saving variables to QSPI.

Reviewed-by: Jagan Teki <jteki@openedev.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/zynq-common.h

index e8c3ef0c387222ad0c507a90451bd09ae68d058c..229bc7a809f2c0eee8f31fb8115100d37233fbed 100644 (file)
 /* Environment */
 #ifndef CONFIG_ENV_IS_NOWHERE
 # ifndef CONFIG_SYS_NO_FLASH
+/* Environment in NOR flash */
 #  define CONFIG_ENV_IS_IN_FLASH
+# elif defined(CONFIG_ZYNQ_QSPI)
+/* Environment in Serial Flash */
+#  define CONFIG_ENV_IS_IN_SPI_FLASH
 # elif defined(CONFIG_SYS_NO_FLASH)
 #  define CONFIG_ENV_IS_NOWHERE
 # endif