common: Drop linux/delay.h from common header
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
07e1114671
commit
c05ed00afb
@ -11,6 +11,7 @@
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <env_internal.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/types.h>
|
||||
#include <api_public.h>
|
||||
#include <u-boot/crc.h>
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <time.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/types.h>
|
||||
#include <asm/arch/ep93xx.h>
|
||||
#include <asm/io.h>
|
||||
|
@ -18,6 +18,7 @@
|
||||
#if defined (CONFIG_IMX)
|
||||
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
int timer_init (void)
|
||||
{
|
||||
@ -48,7 +49,7 @@ ulong get_timer (ulong base)
|
||||
return get_timer_masked() - base;
|
||||
}
|
||||
|
||||
void __udelay (unsigned long usec)
|
||||
void __udelay(unsigned long usec)
|
||||
{
|
||||
ulong endtime = get_timer_masked() + usec;
|
||||
signed long diff;
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <time.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/armada100.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Timer registers
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/* General purpose timers bitfields */
|
||||
#define GPTCR_SWR (1 << 15) /* Software reset */
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <hang.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/* Maximum fixed count */
|
||||
#if defined(CONFIG_MX23)
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/spr_syscntl.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
void reset_cpu(ulong ignored)
|
||||
{
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/arch/spr_gpt.h>
|
||||
#include <asm/arch/spr_misc.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define GPT_RESOLUTION (CONFIG_SPEAR_HZ_CLOCK / CONFIG_SPEAR_HZ)
|
||||
#define READ_TIMER() (readl(&gpt_regs_p->count) & GPT_FREE_RUNNING)
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <bitfield.h>
|
||||
#include <asm/arch/sysmap.h>
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/arch/sysmap.h>
|
||||
#include <asm/kona-common/clk.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <bitfield.h>
|
||||
#include <asm/arch/sysmap.h>
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/arch/sysmap.h>
|
||||
#include <asm/kona-common/clk.h>
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/iproc-common/timer.h>
|
||||
#include <asm/iproc-common/sysmap.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static inline uint64_t timer_global_read(void)
|
||||
{
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <fsl_esdhc.h>
|
||||
#include <config.h>
|
||||
#include <fsl_wdog.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "fsl_epu.h"
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <div64.h>
|
||||
#include <asm/arch/immap_ls102xa.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/pwm.h>
|
||||
#include <asm/arch/clk.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/* Use the old PWM interface for now */
|
||||
#undef CONFIG_DM_PWM
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <cpu_func.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/stv0991_wdru.h>
|
||||
#include <linux/delay.h>
|
||||
void reset_cpu(ulong ignored)
|
||||
{
|
||||
puts("System is going to reboot ...\n");
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/arch-stv0991/hardware.h>
|
||||
#include <asm/arch-stv0991/stv0991_cgu.h>
|
||||
#include <asm/arch-stv0991/stv0991_gpt.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static struct stv0991_cgu_regs *const stv0991_cgu_regs = \
|
||||
(struct stv0991_cgu_regs *) (CGU_BASE_ADDR);
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <time.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <div64.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static struct pit_reg *cur_pit = (struct pit_reg *)PIT_BASE_ADDR;
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/arch/fsl_serdes.h>
|
||||
#include <asm/arch/soc.h>
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <env.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/arch/fsl_serdes.h>
|
||||
#include <asm/arch/soc.h>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/system.h>
|
||||
#include <asm/arch/mp.h>
|
||||
#include <asm/arch/soc.h>
|
||||
#include <linux/delay.h>
|
||||
#include "cpu.h"
|
||||
#include <asm/arch-fsl-layerscape/soc.h>
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT)
|
||||
# if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_CPU_PXA27X)
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <common.h>
|
||||
#include <SA-1100.h>
|
||||
#include <time.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static ulong get_timer_masked (void)
|
||||
{
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <irq_func.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
__weak void reset_misc(void)
|
||||
{
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <time.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/atmel_mpddrc.h>
|
||||
#include <asm/arch/at91_common.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define SAMA5D3_MPDDRC_VERSION 0x140
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <common.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <asm/arch/at91_rstc.h>
|
||||
#include <watchdog.h>
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/timer_defs.h>
|
||||
#include <div64.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -197,4 +197,5 @@ unsigned int exynos_init_dp(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <linux/delay.h>
|
||||
#endif /* _DP_INFO_H */
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/iomux-vf610.h>
|
||||
#include <asm/arch/ddrmc-vf610.h>
|
||||
#include <linux/delay.h>
|
||||
#include "ddrmc-vf610-calibration.h"
|
||||
|
||||
void ddrmc_setup_iomux(const iomux_v3_cfg_t *pads, int pads_count)
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <malloc.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/mach-imx/mxc_i2c.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <div64.h>
|
||||
#include <errno.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <errno.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/iopoll.h>
|
||||
|
||||
static struct anamix_pll *ana_pll = (struct anamix_pll *)ANATOP_BASE_ADDR;
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <lmb.h>
|
||||
#include <log.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/mach-imx/regs-common.h>
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#include <log.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/types.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/mx6-ddr.h>
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <common.h>
|
||||
#include <fsl_esdhc_imx.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <mmc.h>
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <imx_thermal.h>
|
||||
#include <fsl_sec.h>
|
||||
#include <asm/setup.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define IOMUXC_GPR1 0x4
|
||||
#define BM_IOMUXC_GPR1_IRQ 0x1000
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/pcc.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
scg_p scg1_regs = (scg_p)SCG1_RBASE;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/mach-imx/syscounter.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <asm/arch/msmc.h>
|
||||
#include <asm/arch/ddr3.h>
|
||||
#include <asm/arch/psc_defs.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include <asm/ti-common/ti-edma3.h>
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/processor.h>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <asm/arch/wdt.h>
|
||||
#include <asm/arch/emc.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static struct clk_pm_regs *clk = (struct clk_pm_regs *)CLK_PM_BASE;
|
||||
static struct emc_regs *emc = (struct emc_regs *)EMC_BASE;
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <asm/arch/clk.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static struct timer_regs *timer0 = (struct timer_regs *)TIMER0_BASE;
|
||||
static struct timer_regs *timer1 = (struct timer_regs *)TIMER1_BASE;
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <ahci.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/mbus.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/pl310.h>
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/efuse.h>
|
||||
#include <asm/arch/soc.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/mbus.h>
|
||||
|
||||
#if defined(CONFIG_MVEBU_EFUSE_FAKE)
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/soc.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "ctrl_pex.h"
|
||||
#include "sys_env_lib.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/soc.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "high_speed_env_spec.h"
|
||||
#include "sys_env_lib.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/soc.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "seq_exec.h"
|
||||
#include "high_speed_env_spec.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/soc.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "high_speed_env_spec.h"
|
||||
#include "board_env_spec.h"
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <i2c.h>
|
||||
#include <miiphy.h>
|
||||
#include <cpsw.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/usb/ch9.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/* PRCM */
|
||||
#define PRCM_MOD_EN 0x2
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/emif.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/**
|
||||
* Base address for EMIF instances
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/emif.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*********************************************************************
|
||||
* Init DDR3 on TI816X EVM
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <asm/utils.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/ti-common/ti-edma3.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static int emif1_enabled = -1, emif2_enabled = -1;
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <asm/utils.h>
|
||||
#include <asm/arch/gpio.h>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include "pipe3-phy.h"
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <init.h>
|
||||
#include <time.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define UBOOT_CNTR 0 /* counter to use for uboot timer */
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch-armv7/globaltimer.h>
|
||||
#include <asm/arch/rmobile.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static struct globaltimer *global_timer = \
|
||||
(struct globaltimer *)GLOBAL_TIMER_BASE_ADDR;
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3036.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* we can not fit the code to access the device tree in SPL
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <clk.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <asm/arch/clock_manager.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock_manager.h>
|
||||
#include <asm/arch/freeze_controller.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
static const struct socfpga_freeze_controller *freeze_controller_base =
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <asm/arch/freeze_controller.h>
|
||||
#include <asm/arch/scan_manager.h>
|
||||
#include <asm/arch/system_manager.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Maximum polling loop to wait for IO scan chain engine becomes idle
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <watchdog.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <linux/delay.h>
|
||||
#include "stm32prog.h"
|
||||
|
||||
/* - configuration part -----------------------------*/
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
void clock_init_safe(void)
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
void clock_init_safe(void)
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define CPU_CFG_CHIP_VER(n) ((n) << 6)
|
||||
#define CPU_CFG_CHIP_VER_MASK CPU_CFG_CHIP_VER(0x3)
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/kconfig.h>
|
||||
|
||||
/*
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define DRAM_CLK (CONFIG_DRAM_CLK * 1000000)
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static const struct dram_para dram_para = {
|
||||
.clock = CONFIG_DRAM_CLK,
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/* PLL runs at 2x dram-clk, controller runs at PLL / 4 (dram-clk / 2) */
|
||||
#define DRAM_CLK_MUL 2
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define DRAM_CLK_MUL 2
|
||||
#define DRAM_CLK_DIV 1
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/kconfig.h>
|
||||
|
||||
static void mctl_phy_init(u32 val)
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <spl.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/libfdt.h>
|
||||
|
||||
#ifdef CONFIG_SPL_OS_BOOT
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <asm/arch-tegra/clk_rst.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <asm/arch-tegra/timer.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* This is our record of the current clock rate of each clock. We don't
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <irq_func.h>
|
||||
#include <asm/arch/tegra.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
static int do_enterrcm(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <asm/arch-tegra/clk_rst.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <asm/arch-tegra/scu.h>
|
||||
#include <linux/delay.h>
|
||||
#include "cpu.h"
|
||||
|
||||
int get_num_cpus(void)
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/types.h>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <asm/arch-tegra/timer.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Clock types that we can use as a source. The Tegra114 has muxes for the
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <asm/arch/tegra.h>
|
||||
#include <asm/arch-tegra/clk_rst.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <linux/delay.h>
|
||||
#include "../cpu.h"
|
||||
|
||||
/* Tegra114-specific CPU init code */
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <asm/arch-tegra/timer.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Clock types that we can use as a source. The Tegra124 has muxes for the
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <asm/arch-tegra/clk_rst.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <asm/arch-tegra/ap.h>
|
||||
#include <linux/delay.h>
|
||||
#include "../cpu.h"
|
||||
|
||||
/* Tegra124-specific CPU init code */
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <log.h>
|
||||
#include <dm/of_access.h>
|
||||
#include <dm/ofnode.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "../xusb-padctl-common.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <asm/arch-tegra/timer.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Clock types that we can use as a source. The Tegra20 has muxes for the
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/tegra.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <linux/delay.h>
|
||||
#include "../cpu.h"
|
||||
|
||||
static void enable_cpu_power_rail(void)
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <asm/arch-tegra/timer.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Clock types that we can use as a source. The Tegra210 has muxes for the
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <log.h>
|
||||
#include <dm/of_access.h>
|
||||
#include <dm/ofnode.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include "../xusb-padctl-common.h"
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <asm/arch-tegra/timer.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* Clock types that we can use as a source. The Tegra30 has muxes for the
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/arch-tegra/clk_rst.h>
|
||||
#include <asm/arch-tegra/pmc.h>
|
||||
#include <asm/arch-tegra/tegra_i2c.h>
|
||||
#include <linux/delay.h>
|
||||
#include "../cpu.h"
|
||||
|
||||
/* Tegra30-specific CPU init code */
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <spl.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
#include "../init.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <net.h>
|
||||
#include <dm/of.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
#include "micro-support-card.h"
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define LOCK 0
|
||||
#define SPLIT 1
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user