[U-Boot] [PATCH v2] nios2: convert nios2 cpu to driver model

Simon Glass sjg at chromium.org
Tue Sep 29 16:52:22 CEST 2015


Hi,

On 29 September 2015 at 08:29, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Tue, Sep 29, 2015 at 10:28 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
>> +Simon
>>
>> On Tue, Sep 29, 2015 at 3:18 PM, Thomas Chou <thomas at wytron.com.tw> wrote:
>>> Hi Marek,
>>>
>>> On 09/29/2015 10:45 AM, Marek Vasut wrote:
>>>>>
>>>>> --- a/arch/Kconfig
>>>>> +++ b/arch/Kconfig
>>>>> @@ -64,6 +64,9 @@ config NIOS2
>>>>>         select HAVE_GENERIC_BOARD
>>>>>         select SYS_GENERIC_BOARD
>>>>>         select SUPPORT_OF_CONTROL
>>>>> +       select OF_CONTROL
>>>>> +       select DM
>>>>> +       select CPU
>>>>
>>>>
>>>> What's this CONFIG_CPU for please ?
>>>
>>>
>>> drivers/cpu/Kconfig
>>>
>>> It is "Enable CPU drivers using Driver Model". I think it should have been
>>> named as CONFIG_DM_CPU to avoid confusion.
>>
>> I remember Simon intended to name it as CONFIG_DM_CPU as I raised
>> similar comments before.
>
> Oops, I must be drunk! I mean CONFIG_CPU ...

Yes. The CONFIG_DM_xxx options will go away as each subsystem is
converted to driver model.

Regards,
Simon


More information about the U-Boot mailing list