summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2016-02-13 12:02:53 +0100
committerJagan Teki <jteki@openedev.com>2016-02-23 16:14:45 +0530
commit18c61e95714f4a18f1a206369fc187639d9845e1 (patch)
tree6c0d8ef412378aff40b02cad0885391a2d39ea0b /include/configs/zynq-common.h
parent595af9db2422fa5ae734cfe615415b17a5098f34 (diff)
ARM: zynq: Wire-up saving environment to QSPI
Extend options for saving variables to QSPI. Reviewed-by: Jagan Teki <jteki@openedev.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index e8c3ef0c38..229bc7a809 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -197,7 +197,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