aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-07-12 23:33:02 +0100
committerTom Rini <trini@konsulko.com>2020-07-29 08:43:40 -0400
commit368ac3f205deddec058a2757556786a9176d7fb7 (patch)
tree4d4c4fb3fc7a3ba68a1d98acc3c2cd54dd80adeb
parente3cc511eef5d99491e0c51324be499b688dde8de (diff)
downloadu-boot-368ac3f205deddec058a2757556786a9176d7fb7.zip
u-boot-368ac3f205deddec058a2757556786a9176d7fb7.tar.gz
u-boot-368ac3f205deddec058a2757556786a9176d7fb7.tar.bz2
board: mediatek: Use CONFIG_DEFAULT_FDT_FILE for default environment
Rather than hard-coding it to the Banana Pi R2. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--configs/mt7623n_bpir2_defconfig2
-rw-r--r--include/configs/mt7623.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/mt7623n_bpir2_defconfig b/configs/mt7623n_bpir2_defconfig
index 5b753a9..b88067e 100644
--- a/configs/mt7623n_bpir2_defconfig
+++ b/configs/mt7623n_bpir2_defconfig
@@ -13,7 +13,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_BOOTDELAY=3
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-CONFIG_DEFAULT_FDT_FILE="mt7623n-bananapi-bpi-r2"
+CONFIG_DEFAULT_FDT_FILE="mt7623n-bananapi-bpi-r2.dtb"
# CONFIG_DISPLAY_BOARDINFO is not set
CONFIG_SYS_PROMPT="U-Boot> "
CONFIG_CMD_BOOTMENU=y
diff --git a/include/configs/mt7623.h b/include/configs/mt7623.h
index d969297..b7e9aff 100644
--- a/include/configs/mt7623.h
+++ b/include/configs/mt7623.h
@@ -49,7 +49,7 @@
"fdt_high=" FDT_HIGH "\0" \
"kernel_addr_r=0x84000000\0" \
"fdt_addr_r=" FDT_HIGH "\0" \
- "fdtfile=mt7623n-bananapi-bpi-r2.dtb" "\0"
+ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
/* Ethernet */
#define CONFIG_IPADDR 192.168.1.1