mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
83ad745cb9
commit
cef52c9cb2
3 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
#include <configs/ti_armv7_common.h>
|
||||
|
||||
/* we may include files below only after all above definitions */
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#ifndef CONFIG_SOC_K2G
|
||||
#define CFG_SYS_HZ_CLOCK ks_clk_get_rate(KS2_CLK1_6)
|
||||
|
|
Loading…
Reference in a new issue