ipq806x: enable saveenv command

Change-Id: If57cde6fb84da52dfb9cb21d1018dcfd82773989
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This commit is contained in:
Ajay Kishore 2016-10-13 19:41:38 +05:30
parent 8db2cb33b6
commit e11ebd407d
2 changed files with 5 additions and 2 deletions

View file

@ -30,7 +30,6 @@ DECLARE_GLOBAL_DATA_PTR;
qca_mmc mmc_host;
int nand_env_device = 0;
const char *rsvd_node = "/reserved-memory";
const char *del_node[] = {NULL};
const add_node_t add_node[] = {};

View file

@ -92,7 +92,6 @@
#define CONFIG_ENV_SIZE 0x10000 /* 64 KB */
#define CONFIG_ENV_SIZE_MAX (256 << 10) /* 256 KB */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE_MAX + (256 << 10))
#define CONFIG_ENV_IS_NOWHERE 1
/*
* select serial console configuration
@ -198,6 +197,8 @@
*
*/
extern loff_t board_env_offset;
#if !defined(DO_DEPS_ONLY) || defined(DO_SOC_DEPS_ONLY)
typedef struct {
uint8_t nss[16 * 1024 * 1024];
@ -262,6 +263,9 @@ typedef struct {
#define CONFIG_BOOTDELAY 2
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_ENV_IS_IN_NAND
#define CONFIG_ENV_OFFSET board_env_offset
/*for ubi*/
#define CONFIG_CMD_UBI
#define CONFIG_RBTREE