[PATCH v2 06/13] configs: am68: Add configs for enabling Ethboot in R5SPL
Andrew Davis
afd at ti.com
Wed Feb 19 15:33:44 CET 2025
On 2/19/25 4:48 AM, Chintan Vankar wrote:
> Add configs for enabling Ethernet boot in R5SPL, also disable not required
> configs to avoid memory limitation.
>
> Signed-off-by: Chintan Vankar <c-vankar at ti.com>
> ---
>
> Link to v1:
> https://lore.kernel.org/r/20250107093840.2211381-6-c-vankar@ti.com/
>
> Changes from v1 to v2:
> - Updated commit message.
>
> configs/am68_sk_r5_ethboot_defconfig | 60 ++++++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
> create mode 100644 configs/am68_sk_r5_ethboot_defconfig
>
> diff --git a/configs/am68_sk_r5_ethboot_defconfig b/configs/am68_sk_r5_ethboot_defconfig
> new file mode 100644
> index 00000000000..d4d279cad3b
> --- /dev/null
> +++ b/configs/am68_sk_r5_ethboot_defconfig
> @@ -0,0 +1,60 @@
> +#include <configs/am68_sk_r5_defconfig>
> +
> +CONFIG_ARM=y
> +CONFIG_ARCH_K3=y
> +CONFIG_SOC_K3_J721S2=y
> +CONFIG_TARGET_J721S2_R5_EVM=y
> +CONFIG_DEFAULT_DEVICE_TREE="k3-am68-sk-r5-base-board"
> +CONFIG_SPL_BOARD_INIT=y
> +CONFIG_SPL_DMA=y
> +CONFIG_SPL_ETH=y
> +CONFIG_SPL_NET=y
> +CONFIG_SPL_NET_VCI_STRING="AM68 U-Boot R5 SPL"
> +CONFIG_SPL_SYSCON=y
Assuming the above CONFIG is needed by one of the below
two drivers? Could the above be selected by one of them
in their Kconfig instead of in each defconfig?
> +CONFIG_TI_K3_NAVSS_UDMA=y
> +CONFIG_TI_AM65_CPSW_NUSS=y
> +CONFIG_SPI=n
> +CONFIG_SPL_SPI=n
> +CONFIG_DM_SPI=n
> +CONFIG_SPL_DM_SPI=n
> +CONFIG_SPI_MEM=n
> +CONFIG_CMD_FAT=n
The *_r5_defconfigs build both SPL and U-Boot proper, but we only use SPL.
Changing options that only affect U-Boot and not SPL shouldn't be needed.
Andrew
> +CONFIG_FS_FAT=n
> +CONFIG_SPL_FS_FAT=n
> +CONFIG_MMC_SDHCI=n
> +CONFIG_MTD=n
> +CONFIG_CMD_FAT=n
> +CONFIG_SPL_DM_SPI_FLASH=n
> +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=n
> +CONFIG_HUSH_PARSER=n
> +CONFIG_CMD_DFU=n
> +CONFIG_CMD_GPT=n
> +CONFIG_SPL_YMODEM_SUPPORT=n
> +CONFIG_ARCH_FIXUP_FDT_MEMORY=n
> +CONFIG_INPUT=n
> +CONFIG_DFU=n
> +CONFIG_SPL_DFU=n
> +CONFIG_K3_EARLY_CONS=n
> +CONFIG_K3_QOS=n
> +CONFIG_USE_BOOTCOMMAND=n
> +CONFIG_SPL_MTD=n
> +CONFIG_SPL_NAND_SPI_SUPPORT=n
> +CONFIG_USB=n
> +CONFIG_FS_LOADER=n
> +CONFIG_SPL_FS_LOADER=n
> +CONFIG_PINCTRL_GENERIC=n
> +CONFIG_PINMUX=n
> +CONFIG_SPL_PINCTRL_GENERIC=n
> +CONFIG_SPL_PINMUX=n
> +CONFIG_DM_REGULATOR=n
> +CONFIG_TI_SCI_POWER_DOMAIN=n
> +CONFIG_SYSRESET=n
> +CONFIG_OF_UPSTREAM=n
> +CONFIG_SPL_SPI_LOAD=n
> +CONFIG_SPL_DM_SPI=n
> +CONFIG_NOR_SUPPORT=n
> +CONFIG_SPL_NOR_SUPPORT=n
> +CONFIG_SPL_DM_SPI=n
> +CONFIG_SYS_MALLOC_CLEAR_ON_INIT=n
> +CONFIG_SPL_SYS_MALLOC_CLEAR_ON_INIT=n
> +CONFIG_BOOTDEV_ETH=n
More information about the U-Boot
mailing list