diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2023-06-05 17:08:00 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2023-07-11 12:10:09 +0200 |
commit | 38c6d53f88044d6d5d8074183e6611e6999bc039 (patch) | |
tree | 8e5387829a75a2de9a112de47008fe1a97c77647 /include | |
parent | 8e3a3996bf693021d585d239aaedf0be11c9b9be (diff) |
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 <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/verdin-am62.h | 9 |
1 files changed, 9 insertions, 0 deletions
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" \ |