From 1095e3e7b70c2e3ea0745485bb01e542c7512102 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 10 Mar 2023 17:24:30 +0100 Subject: verdin-am62: set dfu_alt_info_ram Provide a dfu_alt_info_ram variable value that allows to download the binary blobs over DFU that are needed to boot TEZI. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Max Krummenacher --- include/configs/verdin-am62.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/include/configs/verdin-am62.h b/include/configs/verdin-am62.h index 027266d29f..dec078c806 100644 --- a/include/configs/verdin-am62.h +++ b/include/configs/verdin-am62.h @@ -8,10 +8,11 @@ #ifndef __CONFIG_VERDIN_AM62_H #define __CONFIG_VERDIN_AM62_H -#include #include #define CONFIG_LOADADDR 0x88200000 +#define RAMDISK_ADDR_R 0x90300000 +#define SCRIPTADDR 0x90280000 /* DDR Configuration */ #define CONFIG_SYS_SDRAM_BASE1 0x880000000 @@ -55,8 +56,8 @@ "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \ "kernel_comp_addr_r=0x80200000\0" \ "kernel_comp_size=0x08000000\0" \ - "ramdisk_addr_r=0x90300000\0" \ - "scriptaddr=0x90280000\0" + "ramdisk_addr_r=" __stringify(RAMDISK_ADDR_R) "\0" \ + "scriptaddr=" __stringify(SCRIPTADDR) "\0" /* Enable Distro Boot */ #define BOOT_TARGET_DEVICES(func) \ @@ -66,8 +67,12 @@ #include #define EXTRA_ENV_DFUARGS \ - DFU_ALT_INFO_EMMC \ - DFU_ALT_INFO_RAM + "dfu_alt_info_ram=" \ + "tispl.bin ram 0x80080000 0x200000;" \ + "u-boot.img ram 0x81000000 0x400000;" \ + "loadaddr ram " __stringify(CONFIG_LOADADDR) " 0x80000;" \ + "scriptaddr ram " __stringify(SCRIPTADDR) " 0x80000;" \ + "ramdisk_addr_r ram " __stringify(RAMDISK_ADDR_R) " 0x8000000\0" /* Initial environment variables */ #define CONFIG_EXTRA_ENV_SETTINGS \ -- cgit v1.2.3