[U-Boot] [U-Boot,v2] Convert CONFIG_BOARD_LATE_INIT to Kconfig
Marek Vasut
marex at denx.de
Mon Aug 20 11:16:27 UTC 2018
On 08/20/2018 10:11 AM, Michal Simek wrote:
> On 20.8.2018 10:02, Marek Vasut wrote:
>> On 08/20/2018 04:42 AM, Tom Rini wrote:
>>> On Sat, Aug 18, 2018 at 08:18:25PM +0300, Ramon Fried wrote:
>>>
>>>> This converts the remaining board defined
>>>> CONFIG_BOARD_LATE_INIT to Kconfig.
>>>>
>>>> Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
>>>> ---
>>>> Changes in v2:
>>>> * Removed config from Kconfig as it already exists on
>>>> common/Kconfig.
>>>> * Changed the commit message.
>>>
>>> OK, I went to apply this and I see where I sent you in the wrong
>>> direction, sorry. BOARD_LATE_INIT is something that the boards (or
>>> SoCs) in question should be select'ing, which is what everything else
>>> that uses it is doing. Thanks!
>>
>> Again, wouldn't it rather make sense to convert the board_late_init to
>> __weak symbol instead and drop the Kconfig option ?
>>
>
> That's not an option for us because we need to enable this functionality
> for full targets but not use them for mini configurations which don't
> require it and it just wasting our limited space.
Then maybe you need a different ifdef for those machines ?
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list