From: Michal Simek Date: Sat, 13 Feb 2016 11:02:53 +0000 (+0100) Subject: ARM: zynq: Wire-up saving environment to QSPI X-Git-Tag: v2016.03-rc3~57^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18c61e95714f4a18f1a206369fc187639d9845e1;p=u-boot ARM: zynq: Wire-up saving environment to QSPI Extend options for saving variables to QSPI. Reviewed-by: Jagan Teki Signed-off-by: Michal Simek --- 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