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

Apurva Nandan a-nandan at ti.com
Mon Apr 1 19:03:49 CEST 2024


On 01/04/24 11:16, Manorit Chawdhry wrote:
> Enable OSPI related configs to boot using OSPI
>
> 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 92f69413fa40..6e7e161fa359 100644
> --- a/configs/j721s2_evm_a72_defconfig
> +++ b/configs/j721s2_evm_a72_defconfig
> @@ -50,6 +50,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
>   CONFIG_SPL_DM_SPI_FLASH=y
>   CONFIG_SPL_NOR_SUPPORT=y
>   CONFIG_SPL_DM_RESET=y
> @@ -58,6 +59,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_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 cb6b4a44864f..197b3284c12d 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


Reviewed-by: Apurva Nandan <a-nandan at ti.com>

-- 
Thanks and regards,
Apurva Nandan,
Texas Instruments India.



More information about the U-Boot mailing list