]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mq_evk: configs: add/cleanup variables for distro boot
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Sun, 16 Jan 2022 21:38:31 +0000 (22:38 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 14:49:01 +0000 (15:49 +0100)
Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy
environment variables.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
include/configs/imx8mq_evk.h

index 6e1d387e2b1e7df364358b1548e8342683aa77cd..5f587f733635d4bd02175093c02b6ed65f781d98 100644 (file)
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS              \
        BOOTENV \
-       "scriptaddr=0x43500000\0" \
-       "kernel_addr_r=0x40880000\0" \
+       "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
+       "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
        "image=Image\0" \
        "console=ttymxc0,115200\0" \
-       "fdt_addr=0x43000000\0"                 \
+       "fdt_addr_r=0x43000000\0"                       \
        "boot_fdt=try\0" \
-       "fdt_file=imx8mq-evk.dtb\0" \
+       "fdtfile=imx8mq-evk.dtb\0" \
        "initrd_addr=0x43800000\0"              \
        "bootm_size=0x10000000\0" \
        "mmcpart=1\0" \