On Fri, 17 Nov 2023 at 15:53, Tom Rini <tr...@konsulko.com> wrote: > > We need to include <config.h> directly when a file needs to have > something such as CFG_SYS_SDRAM_SIZE referenced as this file is not > automatically globally included and is most commonly indirectly included > via common.h. Remove most cases of arc including config.h directly, but > add it where needed. Further clean up the tb100 board config.h file so > that we don't rely on config.h being included there for a value used in > a single place. > > Signed-off-by: Tom Rini <tr...@konsulko.com> > --- > Cc: Alexey Brodkin <abrod...@synopsys.com> > Cc: Eugeniy Paltsev <eugeniy.palt...@synopsys.com> > Cc: uboot-snps-...@synopsys.com > --- > arch/arc/include/asm/arc-bcr.h | 2 -- > arch/arc/include/asm/arcregs.h | 1 - > arch/arc/include/asm/cache.h | 2 -- > arch/arc/lib/cpu.c | 1 + > board/abilis/tb100/tb100.c | 4 ++++ > include/configs/tb100.h | 21 --------------------- > 6 files changed, 5 insertions(+), 26 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>