diff options
author | Tom Rini | 2024-04-29 10:54:46 -0600 |
---|---|---|
committer | Tom Rini | 2024-04-29 10:54:46 -0600 |
commit | c3407f4f5c0d9c3a4e65ab309a8c06dc44016230 (patch) | |
tree | 1145ffa887390ecdf260caa673c6c8fc7bf6f6f6 /board | |
parent | 3d82af15f37181fd71f0ae28a001eb869a0ca8ac (diff) | |
parent | f6afbf6f361744ae8e111fe2cfb8a643812e1bcd (diff) |
Merge patch series "Enable ICSSG Ethernet Driver for AM65x"
MD Danish Anwar <danishanwar@ti.com> says:
The series introduces device tree and config changes and AM65x
to enable ICSSG driver. The series also enables SPL_LOAD_FIT_APPLY_OVERLAY
for AM65x in order to load overlay over spl.
The ICSSG2 node is added in device tree overlay so that it remains in
sync with linux kernel.
This series has been tested on AM65x SR2.0, and the ICSSG interface is
able to ping / dhcp and boot kernel using tftp in uboot.
The users need to set env variables fw_storage_interface, fw_dev_part,
fw_ubi_mtdpart, fw_ubi_volume to indicate which storage medium and
partition they want to use to load firmware files from. By default the env
fw_storage_interface=mmc and fw_dev_part=1:2 but users can modify these
envs as per their requirements.
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/am65x/am65x.env | 4 | ||||
-rw-r--r-- | board/ti/am65x/evm.c | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/board/ti/am65x/am65x.env b/board/ti/am65x/am65x.env index 814374d68cf..631997e4c97 100644 --- a/board/ti/am65x/am65x.env +++ b/board/ti/am65x/am65x.env @@ -27,3 +27,7 @@ get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt} args_ubi=setenv bootargs console=${console} ${optargs} rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs +#if CONFIG_TI_ICSSG_PRUETH +storage_interface=mmc +fw_dev_part=1:2 +#endif diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c index 3109c9a2aca..07073a5940b 100644 --- a/board/ti/am65x/evm.c +++ b/board/ti/am65x/evm.c @@ -91,10 +91,13 @@ int dram_init_banksize(void) #ifdef CONFIG_SPL_LOAD_FIT int board_fit_config_name_match(const char *name) { -#ifdef CONFIG_TARGET_AM654_A53_EVM - if (!strcmp(name, "k3-am654-base-board")) + if (IS_ENABLED(CONFIG_TI_ICSSG_PRUETH) && + strcmp(name, "k3-am654-icssg2") == 0) + return 0; + + if (IS_ENABLED(CONFIG_TARGET_AM654_A53_EVM) && + strcmp(name, "k3-am654-base-board") == 0) return 0; -#endif return -1; } |