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

Bin Meng bmeng.cn at gmail.com
Tue Sep 29 16:29:25 CEST 2015


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 ...

>
> [snip]
>
> Regards,
> Bin


More information about the U-Boot mailing list