Commit 850d6d05 authored by Ye Li's avatar Ye Li

MLK-18227 imx8qm/qxp: Enlarge the size for environment variables

Current size of used environments variables is closed to 4KB size.
We need to enlarge the size, otherwise the saveenv may fail like
"Env export buffer too small"
Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
Reviewed-by: 's avatarPeng Fan <peng.fan@nxp.com>
parent cc9e00c0
......@@ -243,7 +243,7 @@
/* Default environment is in SD */
#define CONFIG_ENV_SIZE 0x1000
#define CONFIG_ENV_SIZE 0x2000
#ifdef CONFIG_QSPI_BOOT
#define CONFIG_ENV_IS_IN_SPI_FLASH
......
......@@ -235,7 +235,7 @@
/* Default environment is in SD */
#define CONFIG_ENV_SIZE 0x1000
#define CONFIG_ENV_SIZE 0x2000
#ifdef CONFIG_QSPI_BOOT
#define CONFIG_ENV_IS_IN_SPI_FLASH
......
......@@ -241,7 +241,7 @@
/* Default environment is in SD */
#define CONFIG_ENV_SIZE 0x1000
#define CONFIG_ENV_SIZE 0x2000
#ifdef CONFIG_NAND_BOOT
#define CONFIG_ENV_IS_IN_NAND
......
......@@ -247,7 +247,7 @@
/* Default environment is in SD */
#define CONFIG_ENV_SIZE 0x1000
#define CONFIG_ENV_SIZE 0x2000
#ifdef CONFIG_QSPI_BOOT
#define CONFIG_ENV_IS_IN_SPI_FLASH
#define CONFIG_ENV_OFFSET (4 * 1024 * 1024)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment