mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
ipq806x: enable saveenv command
Change-Id: If57cde6fb84da52dfb9cb21d1018dcfd82773989 Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This commit is contained in:
parent
8db2cb33b6
commit
e11ebd407d
2 changed files with 5 additions and 2 deletions
|
|
@ -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[] = {};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue