]> git.dujemihanovic.xyz Git - u-boot.git/commit
arc: Cleanup and audit usage of <config.h>
authorTom Rini <trini@konsulko.com>
Thu, 14 Dec 2023 18:16:44 +0000 (13:16 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 13:54:37 +0000 (08:54 -0500)
commit28388f4ddbfa9a874e3c2d59217a14e51ce8e5e0
tree32e208306cb3d6d5c40b1058e99701cb08470029
parent10be393cf0af497a7b71b87afc5a3e3eb8fecdd5
arc: Cleanup and audit usage of <config.h>

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arc/include/asm/arc-bcr.h
arch/arc/include/asm/arcregs.h
arch/arc/include/asm/cache.h
arch/arc/lib/cpu.c
board/abilis/tb100/tb100.c
include/configs/tb100.h