From f5c0a7ef3c77f84ec6b5abb0321cbf8e6622e11f Mon Sep 17 00:00:00 2001 From: Hari Nagalla Date: Wed, 22 Feb 2023 13:47:26 -0600 Subject: include: configs: am62x: add earlyboot for m4f remotecore Add support for m4f early boot on am62x_evm. Signed-off-by: Hari Nagalla --- include/configs/am62x_evm.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h index a007f312fe..97bd7c1fd7 100644 --- a/include/configs/am62x_evm.h +++ b/include/configs/am62x_evm.h @@ -13,6 +13,7 @@ #include #include #include +#include /* DDR Configuration */ #define CONFIG_SYS_SDRAM_BASE1 0x880000000 @@ -236,10 +237,18 @@ "get_kern_nand=ubifsload ${loadaddr} ${bootdir}/${name_kern}\0" \ "get_fit_nand=ubifsload ${addr_fit} ${bootdir}/${name_fit}\0" +#if defined(CONFIG_TARGET_AM625_A53_EVM) +#if defined(DEFAULT_RPROCS) +#undef DEFAULT_RPROCS +#endif +#define DEFAULT_RPROCS "" \ + "0 /lib/firmware/am62-mcu-m4f0_0-fw " +#endif + #define BOOTENV_DEV_LINUX(devtypeu, devtypel, instance) \ "bootcmd_linux=" \ "if test \"${android_boot}\" -eq 0; then;" \ - "run findfdt; run envboot; run init_${boot};" \ + "run findfdt; run envboot; run init_${boot}; run boot_rprocs;" \ "if test ${boot_fit} -eq 1; then;" \ "run get_fit_${boot}; run get_fit_${boot}; run get_overlaystring; run run_fit;"\ "else;" \ @@ -518,7 +527,8 @@ EXTRA_ENV_AM625_BOARD_SETTINGS_NAND \ EXTRA_ENV_DFUARGS \ EXTRA_ENV_AM625_BOARD_SETTING_USBMSC \ - EXTRA_ENV_AM625_BOARD_SETTINGS_OSPI_NAND + EXTRA_ENV_AM625_BOARD_SETTINGS_OSPI_NAND \ + EXTRA_ENV_RPROC_SETTINGS /* Now for the remaining common defines */ #include -- cgit v1.2.3