[U-Boot] [PATCH] ARM: zynq: Wire-up saving environment to QSPI

Michal Simek monstr at monstr.eu
Sat Feb 13 12:02:53 CET 2016


Extend options for saving variables to QSPI.

Signed-off-by: Michal Simek <monstr at monstr.eu>
---

 include/configs/zynq-common.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 73b7f2072bc6..1eee8a0667dc 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -198,7 +198,11 @@
 /* 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
-- 
1.9.1



More information about the U-Boot mailing list