Nishanth Menon | bf9c61a | 2023-08-25 13:02:54 -0500 | [diff] [blame] | 1 | #include <env/ti/ti_common.env> |
Simon Glass | 5e541a0 | 2023-07-30 21:01:45 -0600 | [diff] [blame] | 2 | #include <env/ti/mmc.env> |
| 3 | #include <env/ti/ufs.env> |
| 4 | #include <env/ti/k3_dfu.env> |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 5 | |
| 6 | #if CONFIG_CMD_REMOTEPROC |
Simon Glass | 5e541a0 | 2023-07-30 21:01:45 -0600 | [diff] [blame] | 7 | #include <env/ti/k3_rproc.env> |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 8 | #endif |
| 9 | |
Andrew Davis | d8ea68d | 2023-07-14 11:22:30 +0530 | [diff] [blame] | 10 | default_device_tree=ti/k3-j721s2-common-proc-board.dtb |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 11 | findfdt= |
| 12 | setenv name_fdt ${default_device_tree}; |
| 13 | if test $board_name = j721s2; then \ |
Andrew Davis | d8ea68d | 2023-07-14 11:22:30 +0530 | [diff] [blame] | 14 | setenv name_fdt ti/k3-j721s2-common-proc-board.dtb; fi; |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 15 | if test $board_name = am68-sk; then |
Andrew Davis | d8ea68d | 2023-07-14 11:22:30 +0530 | [diff] [blame] | 16 | setenv name_fdt ti/k3-am68-sk-base-board.dtb; fi; |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 17 | setenv fdtfile ${name_fdt} |
| 18 | name_kern=Image |
| 19 | console=ttyS2,115200n8 |
| 20 | args_all=setenv optargs earlycon=ns16550a,mmio32,0x02880000 |
| 21 | ${mtdparts} |
| 22 | run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} |
| 23 | |
| 24 | boot=mmc |
| 25 | mmcdev=1 |
| 26 | bootpart=1:2 |
| 27 | bootdir=/boot |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 28 | #if CONFIG_TARGET_J721S2_R5_EVM |
| 29 | addr_mcur5f0_0load=0x89000000 |
| 30 | name_mcur5f0_0fw=/lib/firmware/j7-mcu-r5f0_0-fw |
| 31 | #endif |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 32 | rd_spec=- |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 33 | |
| 34 | rproc_fw_binaries= 2 /lib/firmware/j721s2-main-r5f0_0-fw 3 /lib/firmware/j721s2-main-r5f0_1-fw 4 /lib/firmware/j721s2-main-r5f1_0-fw 5 /lib/firmware/j721s2-main-r5f1_1-fw 6 /lib/firmware/j721s2-c71_0-fw 7 /lib/firmware/j721s2-c71_1-fw |
| 35 | |
| 36 | |