diff options
author | Tom Rini | 2023-12-14 13:16:45 -0500 |
---|---|---|
committer | Tom Rini | 2023-12-21 08:54:37 -0500 |
commit | 7776960f4d26043c75bbc349d28815c698668d41 (patch) | |
tree | 28d131b6f3e2c2234ba5381e79a713453865f5b7 /board/freescale | |
parent | 28388f4ddbfa9a874e3c2d59217a14e51ce8e5e0 (diff) |
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/freescale')
-rw-r--r-- | board/freescale/ls1088a/eth_ls1088aqds.c | 1 | ||||
-rw-r--r-- | board/freescale/ls2080aqds/eth.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c index 2fece3a1b09..e6033d251c5 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 048ab44c591..b47e2ec5a79 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> |