[PATCH v2 4/4] configs: j721s2_evm_*_defconfig: Enable OSPI configs

Jon Humphreys j-humphreys at ti.com
Fri May 31 05:24:33 CEST 2024


Manorit Chawdhry <m-chawdhry at ti.com> writes:

> Enable OSPI related configs to boot using OSPI
>
> Reviewed-by: Apurva Nandan <a-nandan at ti.com>
> Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
> ---
>  configs/j721s2_evm_a72_defconfig | 3 +++
>  configs/j721s2_evm_r5_defconfig  | 3 +++
>  2 files changed, 6 insertions(+)
>
> diff --git a/configs/j721s2_evm_a72_defconfig b/configs/j721s2_evm_a72_defconfig
> index 5ed8d00662e3..326beedea411 100644
> --- a/configs/j721s2_evm_a72_defconfig
> +++ b/configs/j721s2_evm_a72_defconfig
> @@ -51,6 +51,7 @@ CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
>  CONFIG_SPL_I2C=y
>  CONFIG_SPL_DM_MAILBOX=y
>  CONFIG_SPL_MTD=y
> +CONFIG_SPL_MTD_SUPPORT=y

Manorit, CONFIG_SPL_MTD_SUPPORT is no longer a valid config.

>  CONFIG_SPL_DM_SPI_FLASH=y
>  CONFIG_SPL_NOR_SUPPORT=y
>  CONFIG_SPL_DM_RESET=y
> @@ -59,6 +60,8 @@ CONFIG_SPL_RAM_SUPPORT=y
>  CONFIG_SPL_RAM_DEVICE=y
>  # CONFIG_SPL_SPI_FLASH_TINY is not set
>  CONFIG_SPL_SPI_FLASH_SFDP_SUPPORT=y
> +CONFIG_SF_DEFAULT_MODE=0
> +CONFIG_SF_DEFAULT_SPEED=25000000

CONFIG_SF_DEFAULT_MODE defaults to 0 already.

Also please order config additions as safedefconfig would.

thanks
Jon

>  CONFIG_SPL_SPI_LOAD=y
>  CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000
>  CONFIG_SPL_THERMAL=y
> diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig
> index 3c958cafbe8f..4039841488f9 100644
> --- a/configs/j721s2_evm_r5_defconfig
> +++ b/configs/j721s2_evm_r5_defconfig
> @@ -57,6 +57,7 @@ CONFIG_SPL_FS_EXT4=y
>  CONFIG_SPL_I2C=y
>  CONFIG_SPL_DM_MAILBOX=y
>  CONFIG_SPL_MTD=y
> +CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_DM_SPI_FLASH=y
>  CONFIG_SPL_NOR_SUPPORT=y
>  CONFIG_SPL_DM_RESET=y
> @@ -66,6 +67,8 @@ CONFIG_SPL_RAM_DEVICE=y
>  CONFIG_SPL_REMOTEPROC=y
>  # CONFIG_SPL_SPI_FLASH_TINY is not set
>  CONFIG_SPL_SPI_FLASH_SFDP_SUPPORT=y
> +CONFIG_SF_DEFAULT_MODE=0
> +CONFIG_SF_DEFAULT_SPEED=25000000
>  CONFIG_SPL_SPI_LOAD=y
>  CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
>  CONFIG_SPL_THERMAL=y
>
> -- 
> 2.43.2


More information about the U-Boot mailing list