diff mbox series

[v3,07/10] include: configs: j721e_evm: Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0

Message ID 20200121110749.28714-8-j-keerthy@ti.com
State Superseded
Headers show
Series Add support for loading main_r5fss0_core0 | expand

Commit Message

J, KEERTHY Jan. 21, 2020, 11:07 a.m. UTC
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.

Signed-off-by: Keerthy <j-keerthy at ti.com>
---
 include/configs/j721e_evm.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Andrew Davis Jan. 21, 2020, 1:02 p.m. UTC | #1
On 1/21/20 6:07 AM, Keerthy wrote:
> Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
> loadaddr and name.
> 
> Signed-off-by: Keerthy <j-keerthy at ti.com>
> ---
>  include/configs/j721e_evm.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
> index eaed520e6b..265239e32a 100644
> --- a/include/configs/j721e_evm.h
> +++ b/include/configs/j721e_evm.h
> @@ -84,6 +84,10 @@
>  	"mmcdev=1\0"							\
>  	"bootpart=1:2\0"						\
>  	"bootdir=/boot\0"						\
> +	"mainr5f0_0loadaddr=88000000\0"					\
> +	"mainr5f0_0fwname=/lib/firmware/j7-main-r5f0_0-fw\0"		\
> +	"mcur5f0_0loadaddr=89000000\0"					\
> +	"mcur5f0_0fwname=/lib/firmware/j7-mcu-r5f0_0-fw\0"		\


New convention for env vars I'm pushing is: names start with "name_" and
addresses start with "addr_". Makes for easier sorting and for figuring
out what each of the large list of env vars does at a glance.

Andrew


>  	"rd_spec=-\0"							\
>  	"init_mmc=run args_all args_mmc\0"				\
>  	"get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}\0" \
>
diff mbox series

Patch

diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index eaed520e6b..265239e32a 100644
--- a/include/configs/j721e_evm.h
+++ b/include/configs/j721e_evm.h
@@ -84,6 +84,10 @@ 
 	"mmcdev=1\0"							\
 	"bootpart=1:2\0"						\
 	"bootdir=/boot\0"						\
+	"mainr5f0_0loadaddr=88000000\0"					\
+	"mainr5f0_0fwname=/lib/firmware/j7-main-r5f0_0-fw\0"		\
+	"mcur5f0_0loadaddr=89000000\0"					\
+	"mcur5f0_0fwname=/lib/firmware/j7-mcu-r5f0_0-fw\0"		\
 	"rd_spec=-\0"							\
 	"init_mmc=run args_all args_mmc\0"				\
 	"get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}\0" \