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 /drivers/ddr/marvell/axp | |
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 'drivers/ddr/marvell/axp')
-rw-r--r-- | drivers/ddr/marvell/axp/ddr3_axp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ddr/marvell/axp/ddr3_axp.h b/drivers/ddr/marvell/axp/ddr3_axp.h index c40cd768ab..c3d282477f 100644 --- a/drivers/ddr/marvell/axp/ddr3_axp.h +++ b/drivers/ddr/marvell/axp/ddr3_axp.h @@ -6,6 +6,8 @@ #ifndef __DDR3_AXP_H #define __DDR3_AXP_H +#include <config.h> + #define MV_78XX0_Z1_REV 0x0 #define MV_78XX0_A0_REV 0x1 #define MV_78XX0_B0_REV 0x2 |