Message ID | 20220111104933.8177-1-andrey.zhizhikin@leica-geosystems.com |
---|---|
State | Changes Requested |
Delegated to: | Stefano Babic |
Headers | show |
Series | [v2] imx8mq_evk: configs: add/cleanup variables for distro boot | expand |
Hello Stefano, > -----Original Message----- > From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Andrey Zhizhikin > Sent: Tuesday, January 11, 2022 11:50 AM > To: u-boot@lists.denx.de > Cc: sbabic@denx.de; alice.guo@nxp.com; angus@akkea.ca; festevam@gmail.com; > hs@denx.de; jh80.chung@samsung.com; peng.fan@nxp.com; rick@andestech.com; > sjg@chromium.org; trini@konsulko.com; Andrey Zhizhikin <andrey.zhizhikin@leica- > geosystems.com> > Subject: [PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot > Please discard this patch, I've sent the updated version already. I also managed to mess up the In-Reply-To field, so the updated version comes also as V2, so this one should be dropped completely. Sincere apologies for this mess... > 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> > --- -- andrey
diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h index 6e1d387e2b..f15c49d2db 100644 --- a/include/configs/imx8mq_evk.h +++ b/include/configs/imx8mq_evk.h @@ -61,13 +61,13 @@ /* Initial environment variables */ #define CONFIG_EXTRA_ENV_SETTINGS \ BOOTENV \ - "scriptaddr=0x43500000\0" \ - "kernel_addr_r=0x40880000\0" \ + "scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \ + "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\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" \
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> --- Changes in V2: - Rebased on latest master after 2022.01 release include/configs/imx8mq_evk.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) base-commit: fe04d885fb540b614a2f989e16e808b300ccb52e