
On 17 July 2015 at 05:30, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Because the top-level Makefile forces all the source files to include include/linux/kconfig.h (see the UBOOTINCLUDE define), these includes are redundant.
By the way, there are exceptions for the statement above; host programs. In fact, host tools in U-Boot depend on a particular board configuration, although I think they should not. So, some files still include <linux/config.h> to work around build errors on host tools.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com Acked-by: Ian Campbell ijc@hellion.org.uk
Changes in v2:
- Fix a typo in git description include/linux/kconfig -> include/linux/kconfig.h
- Add Ian's Acked-by
arch/arm/cpu/armv7/sunxi/dram_sun8i_a23.c | 1 - arch/arm/cpu/armv7/sunxi/dram_sun8i_a33.c | 1 - arch/x86/cpu/ivybridge/gma.c | 1 - board/sunxi/dram_sun4i_auto.c | 1 - board/sunxi/dram_sun5i_auto.c | 1 - 5 files changed, 5 deletions(-)
Acked-by: Simon Glass sjg@chromium.org