summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHari Nagalla <hnagalla@ti.com>2023-02-22 13:47:26 -0600
committerAnand Gadiyar <gadiyar@ti.com>2023-02-22 16:13:07 -0600
commitf5c0a7ef3c77f84ec6b5abb0321cbf8e6622e11f (patch)
treef36c55474c0c6da0379ac64463b4adc0299e4771
parent286ebd9019dd13f64d96a377f64ee34097307a75 (diff)
include: configs: am62x: add earlyboot for m4f remotecore
Add support for m4f early boot on am62x_evm. Signed-off-by: Hari Nagalla <hnagalla@ti.com>
-rw-r--r--include/configs/am62x_evm.h14
1 files 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 <config_distro_bootcmd.h>
#include <environment/ti/mmc.h>
#include <environment/ti/k3_dfu.h>
+#include <environment/ti/k3_rproc.h>
/* 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 <configs/ti_armv7_common.h>