[U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig
Stefan Roese
sr at denx.de
Mon Feb 9 08:29:09 CET 2015
Hi,
(added Marek to Cc)
On 07.02.2015 01:11, Simon Glass wrote:
> Hi Dinh,
>
> On 6 February 2015 at 16:36, Dinh Nguyen <dinguyen at opensource.altera.com> wrote:
>> Hi Simon,
>>
>> On 02/05/2015 10:41 PM, Simon Glass wrote:
>>> Remove driver model CONFIGs from the board config headers and use Kconfig
>>> instead.
>>>
>>> Signed-off-by: Simon Glass <sjg at chromium.org>
>>> ---
>>>
>>> Changes in v2: None
>>>
>>> configs/socfpga_socrates_defconfig | 3 +++
>>> include/configs/socfpga_common.h | 7 -------
>>> 2 files changed, 3 insertions(+), 7 deletions(-)
>>>
>>> diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig
>>> index 0f3896d..888bbb6 100644
>>> --- a/configs/socfpga_socrates_defconfig
>>> +++ b/configs/socfpga_socrates_defconfig
>>> @@ -3,3 +3,6 @@ CONFIG_SPL=y
>>> +S:CONFIG_TARGET_SOCFPGA_CYCLONE5=y
>>> CONFIG_OF_CONTROL=y
>>> CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socrates"
>>> +CONFIG_DM=y
>>> +CONFIG_DM_SPI=y
>>> +CONFIG_DM_SPI_FLASH=y
>>
>> Would you need to also update socfpga_cyclone5_defconfig or is that not
>> needed?
>
> From what I can tell it does not use driver model yet (it doesn't
> define CONFIG_OF_CONTROL either).
socrates was the first SoCFPGA board to use DT and DM. IIRC, Marek has a
patch series queued to move the other SoCFPGA boards over to DT based
probing (with DM enabled) as well.
Thanks,
Stefan
More information about the U-Boot
mailing list