diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-14 13:16:45 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-21 08:54:37 -0500 |
commit | 7776960f4d26043c75bbc349d28815c698668d41 (patch) | |
tree | 28d131b6f3e2c2234ba5381e79a713453865f5b7 /board | |
parent | 28388f4ddbfa9a874e3c2d59217a14e51ce8e5e0 (diff) | |
download | u-boot-7776960f4d26043c75bbc349d28815c698668d41.tar.gz u-boot-7776960f4d26043c75bbc349d28815c698668d41.tar.bz2 u-boot-7776960f4d26043c75bbc349d28815c698668d41.zip |
arm: Partial 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 arm including config.h directly, but
add it where needed. This includes a few board-specific fixes.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/ls1088a/eth_ls1088aqds.c | 1 | ||||
-rw-r--r-- | board/freescale/ls2080aqds/eth.c | 1 | ||||
-rw-r--r-- | board/toradex/verdin-am62/verdin-am62.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c index 2fece3a1b0..e6033d251c 100644 --- a/board/freescale/ls1088a/eth_ls1088aqds.c +++ b/board/freescale/ls1088a/eth_ls1088aqds.c @@ -3,6 +3,7 @@ * Copyright 2017 NXP */ +#include <config.h> #include <vsprintf.h> #include <linux/string.h> #include <asm/io.h> diff --git a/board/freescale/ls2080aqds/eth.c b/board/freescale/ls2080aqds/eth.c index 048ab44c59..b47e2ec5a7 100644 --- a/board/freescale/ls2080aqds/eth.c +++ b/board/freescale/ls2080aqds/eth.c @@ -3,6 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ +#include <config.h> #include <vsprintf.h> #include <linux/string.h> #include <asm/io.h> diff --git a/board/toradex/verdin-am62/verdin-am62.c b/board/toradex/verdin-am62/verdin-am62.c index d09dda5bcc..2718263eb1 100644 --- a/board/toradex/verdin-am62/verdin-am62.c +++ b/board/toradex/verdin-am62/verdin-am62.c @@ -6,6 +6,7 @@ * */ +#include <config.h> #include <asm/arch/hardware.h> #include <asm/io.h> #include <dm/uclass.h> |