]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: provide ${fdtfile}
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 12 Apr 2018 22:45:57 +0000 (00:45 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 16:25:21 +0000 (18:25 +0200)
All rk3288 default configs define CONFIG_DEFAULT_DEVICE_TREE.
So we can use it to define ${fdtfile} in rk3288_common.h.

This variable is needed by the distro boot command.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/rk3288_common.h

index 78595b86ec4855ff9c58dc193f0c96edf91127df..9b7b24ff967b2ba346b875123e7b6fa3aa13cf3a 100644 (file)
@@ -73,6 +73,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "fdt_high=0x0fffffff\0" \
        "initrd_high=0x0fffffff\0" \
+       "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
        "partitions=" PARTS_DEFAULT \
        ENV_MEM_LAYOUT_SETTINGS \
        ROCKCHIP_DEVICE_SETTINGS \