diff options
author | Vitor Soares <vitor.soares@toradex.com> | 2024-07-04 16:49:32 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-18 07:40:30 -0600 |
commit | defe30a78b76700d05745f438b635c400dbf8fe2 (patch) | |
tree | 2b17216e952208235aad74d1fa6039dae411ed90 /include | |
parent | 902d8ee94ce29a088a325da6e69eeb1a25f1fec7 (diff) | |
download | u-boot-defe30a78b76700d05745f438b635c400dbf8fe2.tar.gz |
verdin-am62: add DFU, USB and UUU fastboot support
Enable USB host as well as USB gadget and DFU support for a53 and r5
configs. Also, enable UUU fastboot support to download files with
the UUU tool from a53.
Additionally, configure usb0 to peripheral mode and add extra
environment for DFU use.
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@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 ac44809fdfa..e8bc22d4c35 100644 --- a/include/configs/verdin-am62.h +++ b/include/configs/verdin-am62.h @@ -35,9 +35,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_script_dhcp=boot.scr\0" \ "console=ttyS2\0" \ |