diff options
author | Michal Simek <monstr@monstr.eu> | 2016-02-13 12:02:53 +0100 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-02-23 16:14:45 +0530 |
commit | 18c61e95714f4a18f1a206369fc187639d9845e1 (patch) | |
tree | 6c0d8ef412378aff40b02cad0885391a2d39ea0b /include | |
parent | 595af9db2422fa5ae734cfe615415b17a5098f34 (diff) | |
download | u-boot-imx-18c61e95714f4a18f1a206369fc187639d9845e1.zip u-boot-imx-18c61e95714f4a18f1a206369fc187639d9845e1.tar.gz u-boot-imx-18c61e95714f4a18f1a206369fc187639d9845e1.tar.bz2 |
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')
-rw-r--r-- | include/configs/zynq-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index e8c3ef0..229bc7a 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 |