ipq806x: update CONFIG_ENV_SIZE with proper size
kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC which requires u-boot also
to be configured the same way.
Change-Id: If463896ff861036bc856ef7bd342f6233cd82d7a
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
diff --git a/include/configs/ipq806x.h b/include/configs/ipq806x.h
index d757f7d..ad661e4 100644
--- a/include/configs/ipq806x.h
+++ b/include/configs/ipq806x.h
@@ -90,7 +90,7 @@
#define CONFIG_MSM_PCOMM
#define CONFIG_ARCH_CPU_INIT
-#define CONFIG_ENV_SIZE 0x10000 /* 64 KB */
+#define CONFIG_ENV_SIZE CONFIG_ENV_SIZE_MAX
#define CONFIG_ENV_RANGE board_env_range
#define CONFIG_ENV_SIZE_MAX (256 << 10) /* 256 KB */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE_MAX + (512 << 10))