diff options
author | Andrew Davis <afd@ti.com> | 2023-11-17 16:38:28 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-29 09:32:15 -0500 |
commit | cef52c9cb2d0d1bcef32ec700e37e99a592bd175 (patch) | |
tree | 1e83646453c50479be20feb22266bfd42fd3c627 /drivers | |
parent | 83ad745cb9add78f33182d02dfcb0a0a723d8907 (diff) | |
download | u-boot-cef52c9cb2d0d1bcef32ec700e37e99a592bd175.zip u-boot-cef52c9cb2d0d1bcef32ec700e37e99a592bd175.tar.gz u-boot-cef52c9cb2d0d1bcef32ec700e37e99a592bd175.tar.bz2 |
configs: keystone2: Do not include hardware.h
This is a hacky way to have this file included in all source files that
include common.h, instead just include from the files that need it.
Signed-off-by: Andrew Davis <afd@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/memory/ti-aemif.c | 1 | ||||
-rw-r--r-- | drivers/soc/ti/keystone_serdes.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c index c4bc88c..41325eb 100644 --- a/drivers/memory/ti-aemif.c +++ b/drivers/memory/ti-aemif.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <asm/arch/hardware.h> #include <asm/ti-common/ti-aemif.h> #define AEMIF_WAITCYCLE_CONFIG (KS2_AEMIF_CNTRL_BASE + 0x4) diff --git a/drivers/soc/ti/keystone_serdes.c b/drivers/soc/ti/keystone_serdes.c index 2ece1a8..0e1bf8f 100644 --- a/drivers/soc/ti/keystone_serdes.c +++ b/drivers/soc/ti/keystone_serdes.c @@ -8,6 +8,7 @@ #include <errno.h> #include <common.h> +#include <asm/io.h> #include <asm/ti-common/keystone_serdes.h> #include <linux/bitops.h> |