[PATCH 2/7] ddr: altera: arria10: Move SDRAM driver to DM

Marek Vasut marex at denx.de
Thu Apr 16 10:51:17 CEST 2020


On 4/16/20 3:41 AM, Tan, Ley Foon wrote:
[...]
>>> a/drivers/ddr/altera/Kconfig b/drivers/ddr/altera/Kconfig index
>>> 8f590dc5f611..30ee884dcf47 100644
>>> --- a/drivers/ddr/altera/Kconfig
>>> +++ b/drivers/ddr/altera/Kconfig
>>> @@ -2,7 +2,7 @@ config SPL_ALTERA_SDRAM
>>>  	bool "SoCFPGA DDR SDRAM driver in SPL"
>>>  	depends on SPL
>>>  	depends on TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
>> || TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
>>> -	select RAM if TARGET_SOCFPGA_GEN5 ||
>> TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
>>> -	select SPL_RAM if TARGET_SOCFPGA_GEN5 ||
>> TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
>>> +	select RAM
>>> +	select SPL_RAM
>>
>> Shouldn't this be selected for Arria 10 only ?
> Previously, we select SPL_RAM and RAM for Gen5, S10 and Agilex only. They support device model.
> Now, we convert A10 SDRAM driver support device model, so we just need to select SPL_RAM and RAM always, regardless of TARGET.

All right, I see.


More information about the U-Boot mailing list