From 38c6d53f88044d6d5d8074183e6611e6999bc039 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 5 Jun 2023 17:08:00 +0200 Subject: board: toradex: verdin-am62: enable dfu and usb support Enable DFU support for the A53, for the R5 due to the smaller available size create a new configuration just for DFU support. Also enable USB device aka gadget and USB host support. Upstream-Status: Pending USB support missing upstream Signed-off-by: Marcel Ziswiler --- include/configs/verdin-am62.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/configs/verdin-am62.h b/include/configs/verdin-am62.h index e0c35dfa06..902ea55b8a 100644 --- a/include/configs/verdin-am62.h +++ b/include/configs/verdin-am62.h @@ -36,9 +36,18 @@ "" #endif /* CONFIG_TARGET_VERDIN_AM62_A53 */ +#define EXTRA_ENV_DFUARGS \ + "dfu_alt_info_ram=" \ + "tispl.bin ram 0x80080000 0x200000;" \ + "u-boot.img ram 0x81000000 0x400000;" \ + "loadaddr ram " __stringify(CONFIG_SYS_LOAD_ADDR) " 0x80000;" \ + "scriptaddr ram " __stringify(SCRIPTADDR) " 0x80000;" \ + "ramdisk_addr_r ram " __stringify(RAMDISK_ADDR_R) " 0x8000000\0" + /* Incorporate settings into the U-Boot environment */ #define CFG_EXTRA_ENV_SETTINGS \ BOOTENV \ + EXTRA_ENV_DFUARGS \ MEM_LAYOUT_ENV_SETTINGS \ "boot_scripts=boot.scr\0" \ "boot_script_dhcp=boot.scr\0" \ -- cgit v1.2.3