]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: mediatek: Use CONFIG_DEFAULT_FDT_FILE for default environment
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 12 Jul 2020 22:33:02 +0000 (23:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
Rather than hard-coding it to the Banana Pi R2.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
configs/mt7623n_bpir2_defconfig
include/configs/mt7623.h

index 5b753a9b7668800276f0513244c3dd0a45b394c2..b88067e8f6c1de046d7f9c0b13bc387bdb373cd2 100644 (file)
@@ -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
index d969297c82f310f2f3cb00db7ed2dc246645b58b..b7e9aff21c3acea42982e10bdaf54996dd101b44 100644 (file)
@@ -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