Hi Marek,

2017-10-13 19:40 GMT+09:00 Marek Vasut <ma...@denx.de>:
> On 10/13/2017 12:21 PM, Masahiro Yamada wrote:
>> Including <common.h> pulls in a lot of bloat.  What this driver needs
>> is BIT(), so replace it with <linux/bitops.h>
>>
>> Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com>
>
> Doesn't common.h also pull in the config macros ? Maybe they are not
> needed here though ...


If you need legacy CONFIG from include/configs/<board>.h,
yes, you need to include <common.h>
(or <config.h> at least)


Recent CONFIG options from Kconfig are automatically provided
via  -include $(srctree)/include/linux/kconfig.h




-- 
Best Regards
Masahiro Yamada
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to