Hi Venkatakrishnan,

On Wed, 16 Nov 2022 at 16:56, Venkatakrishnan S ic11539
<venkatakrishnan.suthar...@imail.iitm.ac.in> wrote:
>
> Hi,
>
> I am trying to generate u-boot spl for a custom processor based out of
> risc-v arch. I have done the defconfig for u-boot proper and is
> working now. I am able to use that alone with opensbi. I am trying to
> generate u-boot spl for the same board and I am not able to generate
> it despite adding the config option in the defconfig for the board.
>
> The options enabled/added for u-boot spl are :
>
> CONFIG_SPL_DM_SPI=y
> CONFIG_SPL_MMC_SUPPORT=y
> CONFIG_SPL=y
> CONFIG_SPL_BUILD=y
> CONFIG_SPL_SPI_FLASH_SUPPORT=y
> CONFIG_SPL_SPI_SUPPORT=y
> CONFIG_SPL_LOAD_FIT_ADDRESS=0x80000000
> CONFIG_SPL_CLK=y

You cannot enable CONFIG_SPL=y in the defconfig, if that is what you
are doing. It needs to happen in the Kconfig as with other boards.

Check the .config to see what is actually enabled.

Regards,
Simon

Reply via email to