cd9004844c02c3de758859735f6bac33e320eb43
[openwrt/staging/jow.git] /
1 From 93d7086edb0db4b05149dfea21a2a82d8f160944 Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Sat, 6 Mar 2021 16:29:33 +0800
4 Subject: [PATCH 10/12] configs: mt7622: enable environment for mt7622_rfb
5
6 Enable environment vairables for mt7622_rfb
7
8 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
9 ---
10 configs/mt7622_rfb_defconfig | 5 +++++
11 1 file changed, 5 insertions(+)
12
13 --- a/configs/mt7622_rfb_defconfig
14 +++ b/configs/mt7622_rfb_defconfig
15 @@ -6,6 +6,8 @@ CONFIG_TEXT_BASE=0x41e00000
16 CONFIG_SYS_MALLOC_F_LEN=0x4000
17 CONFIG_NR_DRAM_BANKS=1
18 CONFIG_DEFAULT_DEVICE_TREE="mt7622-rfb"
19 +CONFIG_ENV_SIZE=0x20000
20 +CONFIG_ENV_OFFSET=0x280000
21 CONFIG_SYS_PROMPT="MT7622> "
22 CONFIG_DEBUG_UART_BASE=0x11002000
23 CONFIG_DEBUG_UART_CLOCK=25000000
24 @@ -24,6 +26,9 @@ CONFIG_CMD_SF_TEST=y
25 CONFIG_CMD_PING=y
26 CONFIG_CMD_SMC=y
27 CONFIG_ENV_OVERWRITE=y
28 +CONFIG_ENV_IS_IN_MTD=y
29 +CONFIG_ENV_MTD_NAME="spi-nand0"
30 +CONFIG_ENV_SIZE_REDUND=0x40000
31 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
32 CONFIG_NET_RANDOM_ETHADDR=y
33 CONFIG_USE_IPADDR=y