Merge branch '2020-01-17-reduce-size-of-common-h-even-more'

- Bring in Simon Glass's series that reduces what we have in <common.h>
  even more.
This commit is contained in:
Tom Rini 2020-01-20 12:23:33 -05:00
commit c7819d409a
542 changed files with 904 additions and 1465 deletions

View file

@ -763,7 +763,9 @@ libs-y += cmd/
libs-y += common/ libs-y += common/
libs-y += env/ libs-y += env/
libs-$(CONFIG_API) += api/ libs-$(CONFIG_API) += api/
libs-$(CONFIG_HAS_POST) += post/ ifdef CONFIG_POST
libs-y += post/
endif
libs-$(CONFIG_UNIT_TEST) += test/ test/dm/ libs-$(CONFIG_UNIT_TEST) += test/ test/dm/
libs-$(CONFIG_UT_ENV) += test/env/ libs-$(CONFIG_UT_ENV) += test/env/
libs-$(CONFIG_UT_OPTEE) += test/optee/ libs-$(CONFIG_UT_OPTEE) += test/optee/

28
README
View file

@ -2460,7 +2460,7 @@ typically in board_init_f() and board_init_r().
Configuration Settings: Configuration Settings:
----------------------- -----------------------
- CONFIG_SYS_SUPPORT_64BIT_DATA: Defined automatically if compiled as 64-bit. - MEM_SUPPORT_64BIT_DATA: Defined automatically if compiled as 64-bit.
Optionally it can be defined to support 64-bit memory commands. Optionally it can be defined to support 64-bit memory commands.
- CONFIG_SYS_LONGHELP: Defined when you want long help messages included; - CONFIG_SYS_LONGHELP: Defined when you want long help messages included;
@ -2870,32 +2870,6 @@ Low Level (hardware related) configuration options:
If this macro is defined, then CONFIG_SYS_CCSRBAR_PHYS will be If this macro is defined, then CONFIG_SYS_CCSRBAR_PHYS will be
forced to a value that ensures that CCSR is not relocated. forced to a value that ensures that CCSR is not relocated.
- Floppy Disk Support:
CONFIG_SYS_FDC_DRIVE_NUMBER
the default drive number (default value 0)
CONFIG_SYS_ISA_IO_STRIDE
defines the spacing between FDC chipset registers
(default value 1)
CONFIG_SYS_ISA_IO_OFFSET
defines the offset of register from address. It
depends on which part of the data bus is connected to
the FDC chipset. (default value 0)
If CONFIG_SYS_ISA_IO_STRIDE CONFIG_SYS_ISA_IO_OFFSET and
CONFIG_SYS_FDC_DRIVE_NUMBER are undefined, they take their
default value.
if CONFIG_SYS_FDC_HW_INIT is defined, then the function
fdc_hw_init() is called at the beginning of the FDC
setup. fdc_hw_init() must be provided by the board
source code. It is used to make hardware-dependent
initializations.
- CONFIG_IDE_AHB: - CONFIG_IDE_AHB:
Most IDE controllers were designed to be connected with PCI Most IDE controllers were designed to be connected with PCI
interface. Only few of them were designed for AHB interface. interface. Only few of them were designed for AHB interface.

View file

@ -5,6 +5,7 @@
#include <command.h> #include <command.h>
#include <common.h> #include <common.h>
#include <cpu_func.h>
__weak void reset_cpu(ulong addr) __weak void reset_cpu(ulong addr)
{ {

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <div64.h> #include <div64.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/errno.h> #include <linux/errno.h>

View file

@ -9,6 +9,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/arch/ep93xx.h> #include <asm/arch/ep93xx.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -13,6 +13,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <time.h> #include <time.h>
#if defined (CONFIG_IMX) #if defined (CONFIG_IMX)
@ -71,7 +72,7 @@ unsigned long long get_ticks(void)
* This function is derived from PowerPC code (timebase clock frequency). * This function is derived from PowerPC code (timebase clock frequency).
* On ARM it returns the number of timer ticks per second. * On ARM it returns the number of timer ticks per second.
*/ */
ulong get_tbclk (void) ulong get_tbclk(void)
{ {
return CONFIG_SYS_HZ; return CONFIG_SYS_HZ;
} }
@ -79,7 +80,7 @@ ulong get_tbclk (void)
/* /*
* Reset the cpu by setting up the watchdog timer and let him time out * Reset the cpu by setting up the watchdog timer and let him time out
*/ */
void reset_cpu (ulong ignored) void reset_cpu(ulong ignored)
{ {
/* Disable watchdog and set Time-Out field to 0 */ /* Disable watchdog and set Time-Out field to 0 */
WCR = 0x00000000; WCR = 0x00000000;

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <time.h> #include <time.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/armada100.h> #include <asm/arch/armada100.h>
@ -138,7 +139,7 @@ int timer_init(void)
* 2. Write key value to TMP_WSAR reg. * 2. Write key value to TMP_WSAR reg.
* 3. Perform write operation. * 3. Perform write operation.
*/ */
void reset_cpu (unsigned long ignored) void reset_cpu(unsigned long ignored)
{ {
struct armd1mpmu_registers *mpmu = struct armd1mpmu_registers *mpmu =
(struct armd1mpmu_registers *) ARMD1_MPMU_BASE; (struct armd1mpmu_registers *) ARMD1_MPMU_BASE;
@ -188,7 +189,7 @@ unsigned long long get_ticks(void)
* This function is derived from PowerPC code (timebase clock frequency). * This function is derived from PowerPC code (timebase clock frequency).
* On ARM it returns the number of timer ticks per second. * On ARM it returns the number of timer ticks per second.
*/ */
ulong get_tbclk (void) ulong get_tbclk(void)
{ {
return (ulong)CONFIG_SYS_HZ; return (ulong)CONFIG_SYS_HZ;
} }

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <div64.h> #include <div64.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/clk.h> #include <asm/arch/clk.h>

View file

@ -9,6 +9,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <div64.h> #include <div64.h>
#include <netdev.h> #include <netdev.h>
#include <vsprintf.h> #include <vsprintf.h>

View file

@ -16,6 +16,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>

View file

@ -16,6 +16,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>

View file

@ -10,6 +10,8 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <hang.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>

View file

@ -8,6 +8,7 @@
#include <common.h> #include <common.h>
#include <config.h> #include <config.h>
#include <init.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View file

@ -8,6 +8,7 @@
#include <common.h> #include <common.h>
#include <config.h> #include <config.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/spr_syscntl.h> #include <asm/arch/spr_syscntl.h>

View file

@ -9,6 +9,7 @@
#include <cpu_func.h> #include <cpu_func.h>
#include <env.h> #include <env.h>
#include <i2c.h> #include <i2c.h>
#include <init.h>
#include <net.h> #include <net.h>
#include <linux/mtd/st_smi.h> #include <linux/mtd/st_smi.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/sysmap.h> #include <asm/arch/sysmap.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#define CRMU_MAIL_BOX1 0x03024028 #define CRMU_MAIL_BOX1 0x03024028

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#define CRU_RESET_OFFSET 0x1803F184 #define CRU_RESET_OFFSET 0x1803F184

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/immap_ls102xa.h> #include <asm/arch/immap_ls102xa.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <fdt_support.h> #include <fdt_support.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/stv0991_wdru.h> #include <asm/arch/stv0991_wdru.h>
void reset_cpu(ulong ignored) void reset_cpu(ulong ignored)

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>

View file

@ -9,6 +9,7 @@
#include <common.h> #include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <hang.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>

View file

@ -8,6 +8,8 @@
#include <cpu_func.h> #include <cpu_func.h>
#include <env.h> #include <env.h>
#include <fsl_ddr_sdram.h> #include <fsl_ddr_sdram.h>
#include <init.h>
#include <hang.h>
#include <vsprintf.h> #include <vsprintf.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/errno.h> #include <linux/errno.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <efi_loader.h> #include <efi_loader.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <fdt_support.h> #include <fdt_support.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <fsl_ifc.h> #include <fsl_ifc.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <env.h> #include <env.h>
#include <fsl_immap.h> #include <fsl_immap.h>
#include <fsl_ifc.h> #include <fsl_ifc.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <env.h> #include <env.h>
#include <spl.h> #include <spl.h>

View file

@ -4,6 +4,8 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>

View file

@ -59,7 +59,7 @@ unsigned long long get_ticks(void)
* This function is derived from PowerPC code (timebase clock frequency). * This function is derived from PowerPC code (timebase clock frequency).
* On ARM it returns the number of timer ticks per second. * On ARM it returns the number of timer ticks per second.
*/ */
ulong get_tbclk (void) ulong get_tbclk(void)
{ {
return CONFIG_SYS_HZ; return CONFIG_SYS_HZ;
} }

View file

@ -7,6 +7,7 @@
#ifndef _ASM_ARMV8_MMU_H_ #ifndef _ASM_ARMV8_MMU_H_
#define _ASM_ARMV8_MMU_H_ #define _ASM_ARMV8_MMU_H_
#include <hang.h>
#include <linux/const.h> #include <linux/const.h>
/* /*

View file

@ -23,6 +23,8 @@ extern ulong _datarellocal_start_ofs;
extern ulong _datarelro_start_ofs; extern ulong _datarelro_start_ofs;
extern ulong IRQ_STACK_START_IN; /* 8 bytes in IRQ stack */ extern ulong IRQ_STACK_START_IN; /* 8 bytes in IRQ stack */
void s_init(void);
/* cpu/.../cpu.c */ /* cpu/.../cpu.c */
int cleanup_before_linux(void); int cleanup_before_linux(void);
@ -52,6 +54,8 @@ void do_fiq(struct pt_regs *pt_regs);
void do_irq(struct pt_regs *pt_regswq); void do_irq(struct pt_regs *pt_regswq);
#endif #endif
void reset_misc(void);
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* _U_BOOT_ARM_H_ */ #endif /* _U_BOOT_ARM_H_ */

View file

@ -15,6 +15,7 @@
#include <command.h> #include <command.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <dm.h> #include <dm.h>
#include <hang.h>
#include <dm/root.h> #include <dm/root.h>
#include <env.h> #include <env.h>
#include <image.h> #include <image.h>

View file

@ -4,10 +4,10 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/ */
#include <hang.h>
/* Replacement (=dummy) for GNU/Linux division-by zero handler */ /* Replacement (=dummy) for GNU/Linux division-by zero handler */
void __div0 (void) void __div0 (void)
{ {
extern void hang (void);
hang(); hang();
} }

View file

@ -19,6 +19,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <efi_loader.h> #include <efi_loader.h>
#include <irq_func.h> #include <irq_func.h>
#include <asm/proc-armv/ptrace.h> #include <asm/proc-armv/ptrace.h>
@ -48,7 +49,7 @@ int disable_interrupts(void)
void bad_mode (void) void bad_mode (void)
{ {
panic ("Resetting CPU ...\n"); panic ("Resetting CPU ...\n");
reset_cpu (0); reset_cpu(0);
} }
static void show_efi_loaded_images(struct pt_regs *regs) static void show_efi_loaded_images(struct pt_regs *regs)

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <irq_func.h> #include <irq_func.h>
/* /*

View file

@ -14,7 +14,7 @@
#include <asm/macro.h> #include <asm/macro.h>
/* /*
* void relocate_code (addr_moni) * void relocate_code(addr_moni)
* *
* This function relocates the monitor code. * This function relocates the monitor code.
* x0 holds the destination address. * x0 holds the destination address.

View file

@ -21,6 +21,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <irq_func.h> #include <irq_func.h>
__weak void reset_misc(void) __weak void reset_misc(void)

View file

@ -14,6 +14,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/at91_st.h> #include <asm/arch/at91_st.h>

View file

@ -6,6 +6,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/at91_rstc.h> #include <asm/arch/at91_rstc.h>

View file

@ -6,6 +6,7 @@
*/ */
#include <common.h> #include <common.h>
#include <time.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/at91_pit.h> #include <asm/arch/at91_pit.h>

View file

@ -9,6 +9,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/at91_rstc.h> #include <asm/arch/at91_rstc.h>

View file

@ -9,6 +9,7 @@
*/ */
#include <common.h> #include <common.h>
#include <time.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/at91_pit.h> #include <asm/arch/at91_pit.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/at91_common.h> #include <asm/arch/at91_common.h>
#include <asm/arch/at91_wdt.h> #include <asm/arch/at91_wdt.h>

View file

@ -9,6 +9,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/at91_common.h> #include <asm/arch/at91_common.h>
#include <asm/arch/at91sam9_matrix.h> #include <asm/arch/at91sam9_matrix.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/at91_common.h> #include <asm/arch/at91_common.h>
#include <asm/arch/at91_pit.h> #include <asm/arch/at91_pit.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/base.h> #include <asm/arch/base.h>
#include <asm/arch/wdog.h> #include <asm/arch/wdog.h>

View file

@ -11,6 +11,7 @@
#include <common.h> #include <common.h>
#include <env.h> #include <env.h>
#include <i2c.h> #include <i2c.h>
#include <init.h>
#include <net.h> #include <net.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/timer_defs.h> #include <asm/arch/timer_defs.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <config.h> #include <config.h>
#include <hang.h>
#include <spl.h> #include <spl.h>
#include <asm/u-boot.h> #include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>

View file

@ -8,6 +8,7 @@
#include <cpu.h> #include <cpu.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <dm.h> #include <dm.h>
#include <init.h>
#include <dm/device-internal.h> #include <dm/device-internal.h>
#include <dm/lists.h> #include <dm/lists.h>
#include <dm/uclass.h> #include <dm/uclass.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <init.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <linux/types.h> #include <linux/types.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/mx6-ddr.h> #include <asm/arch/mx6-ddr.h>

View file

@ -4,6 +4,7 @@
* Copyright (C) 2016 Grinn * Copyright (C) 2016 Grinn
*/ */
#include <init.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/iomux.h> #include <asm/arch/iomux.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <div64.h> #include <div64.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/errno.h> #include <linux/errno.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <div64.h> #include <div64.h>
#include <asm/io.h> #include <asm/io.h>
#include <errno.h> #include <errno.h>

View file

@ -2,6 +2,7 @@
/* /*
* Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright (C) 2016 Freescale Semiconductor, Inc.
*/ */
#include <cpu_func.h>
#include <init.h> #include <init.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>

View file

@ -8,6 +8,7 @@
*/ */
#include <common.h> #include <common.h>
#include <clock_legacy.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <spl.h> #include <spl.h>
#include "common.h" #include "common.h"
#include <dm.h> #include <dm.h>

View file

@ -8,6 +8,7 @@
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <hang.h>
#include <linux/soc/ti/ti_sci_protocol.h> #include <linux/soc/ti/ti_sci_protocol.h>
#include <mach/spl.h> #include <mach/spl.h>
#include <spl.h> #include <spl.h>

View file

@ -6,6 +6,7 @@
* Texas Instruments Incorporated, <www.ti.com> * Texas Instruments Incorporated, <www.ti.com>
*/ */
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <common.h> #include <common.h>
#include <asm/arch/msmc.h> #include <asm/arch/msmc.h>

View file

@ -5,6 +5,7 @@
* Copyright (C) 2012-2019 Texas Instruments Incorporated - http://www.ti.com/ * Copyright (C) 2012-2019 Texas Instruments Incorporated - http://www.ti.com/
*/ */
#include <hang.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>

View file

@ -7,6 +7,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <cpu_func.h>
#include <env.h> #include <env.h>
#include <netdev.h> #include <netdev.h>
#include <asm/cache.h> #include <asm/cache.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <init.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <asm/arch/misc.h> #include <asm/arch/misc.h>

View file

@ -7,6 +7,7 @@
#include <clk.h> #include <clk.h>
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <dm.h> #include <dm.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <ram.h> #include <ram.h>

View file

@ -8,6 +8,7 @@
#include <clk.h> #include <clk.h>
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <dm.h> #include <dm.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <ram.h> #include <ram.h>

View file

@ -6,6 +6,7 @@
#include <clk.h> #include <clk.h>
#include <common.h> #include <common.h>
#include <hang.h>
#include <spl.h> #include <spl.h>
#include "init.h" #include "init.h"

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <init.h>
#include <asm/arch/boot.h> #include <asm/arch/boot.h>
#include <asm/arch/eth.h> #include <asm/arch/eth.h>
#include <asm/arch/axg.h> #include <asm/arch/axg.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <init.h> #include <init.h>
#include <asm/arch/boot.h> #include <asm/arch/boot.h>
#include <env.h> #include <env.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <init.h>
#include <asm/arch/boot.h> #include <asm/arch/boot.h>
#include <asm/arch/eth.h> #include <asm/arch/eth.h>
#include <asm/arch/g12a.h> #include <asm/arch/g12a.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <init.h>
#include <asm/arch/boot.h> #include <asm/arch/boot.h>
#include <asm/arch/eth.h> #include <asm/arch/eth.h>
#include <asm/arch/gx.h> #include <asm/arch/gx.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <dm.h> #include <dm.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>

View file

@ -7,6 +7,7 @@
#include <config.h> #include <config.h>
#include <common.h> #include <common.h>
#include <init.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/soc.h> #include <asm/arch/soc.h>

View file

@ -7,6 +7,7 @@
#include <dm.h> #include <dm.h>
#include <debug_uart.h> #include <debug_uart.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <hang.h>
#include <spl.h> #include <spl.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>

View file

@ -11,6 +11,7 @@
#include <dm.h> #include <dm.h>
#include <debug_uart.h> #include <debug_uart.h>
#include <errno.h> #include <errno.h>
#include <init.h>
#include <ns16550.h> #include <ns16550.h>
#include <spl.h> #include <spl.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>

View file

@ -8,6 +8,7 @@
* Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/ * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <fdt_support.h> #include <fdt_support.h>
#include <malloc.h> #include <malloc.h>

View file

@ -13,6 +13,7 @@
* Rajendra Nayak <rnayak@ti.com> * Rajendra Nayak <rnayak@ti.com>
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <i2c.h> #include <i2c.h>
#include <asm/omap_common.h> #include <asm/omap_common.h>
#include <asm/gpio.h> #include <asm/gpio.h>

View file

@ -9,6 +9,9 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <init.h>
#include <net.h>
#include <asm/emif.h> #include <asm/emif.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View file

@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <asm/arch/dra7xx_iodelay.h> #include <asm/arch/dra7xx_iodelay.h>
#include <asm/arch/omap.h> #include <asm/arch/omap.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <fdt_support.h> #include <fdt_support.h>
#include <malloc.h> #include <malloc.h>

View file

@ -12,6 +12,7 @@
* Sricharan <r.sricharan@ti.com> * Sricharan <r.sricharan@ti.com>
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <palmas.h> #include <palmas.h>
#include <asm/armv7.h> #include <asm/armv7.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>

View file

@ -9,6 +9,7 @@
* Sricharan R <r.sricharan@ti.com> * Sricharan R <r.sricharan@ti.com>
*/ */
#include <config.h> #include <config.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <linux/compiler.h> #include <linux/compiler.h>

View file

@ -14,6 +14,8 @@
#include <common.h> #include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <hang.h>
#include <init.h>
#include <stdarg.h> #include <stdarg.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View file

@ -10,6 +10,7 @@
#include <common.h> #include <common.h>
#include <config.h> #include <config.h>
#include <init.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -165,7 +165,7 @@ unsigned long long get_ticks(void)
* This function is derived from PowerPC code (timebase clock frequency). * This function is derived from PowerPC code (timebase clock frequency).
* On ARM it returns the number of timer ticks per second. * On ARM it returns the number of timer ticks per second.
*/ */
ulong get_tbclk (void) ulong get_tbclk(void)
{ {
return (ulong)CONFIG_SYS_HZ; return (ulong)CONFIG_SYS_HZ;
} }

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/arch-rockchip/bootrom.h> #include <asm/arch-rockchip/bootrom.h>
#include <asm/arch-rockchip/boot_mode.h> #include <asm/arch-rockchip/boot_mode.h>
#include <asm/io.h> #include <asm/io.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <hang.h>
#include <syscon.h> #include <syscon.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch-rockchip/bootrom.h> #include <asm/arch-rockchip/bootrom.h>

View file

@ -6,6 +6,7 @@
#include <common.h> #include <common.h>
#include <debug_uart.h> #include <debug_uart.h>
#include <dm.h> #include <dm.h>
#include <hang.h>
#include <ram.h> #include <ram.h>
#include <spl.h> #include <spl.h>
#include <asm/arch-rockchip/bootrom.h> #include <asm/arch-rockchip/bootrom.h>

View file

@ -6,6 +6,7 @@
#include <common.h> #include <common.h>
#include <debug_uart.h> #include <debug_uart.h>
#include <dm.h> #include <dm.h>
#include <hang.h>
#include <ram.h> #include <ram.h>
#include <spl.h> #include <spl.h>
#include <version.h> #include <version.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <wait_bit.h> #include <wait_bit.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/mailbox_s10.h> #include <asm/arch/mailbox_s10.h>

View file

@ -5,6 +5,7 @@
#include <common.h> #include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <errno.h> #include <errno.h>
#include <fdtdec.h> #include <fdtdec.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <cpu_func.h>
#include <asm/io.h> #include <asm/io.h>
#include <env.h> #include <env.h>
#include <errno.h> #include <errno.h>

View file

@ -5,6 +5,7 @@
#include <common.h> #include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/pl310.h> #include <asm/pl310.h>
#include <asm/u-boot.h> #include <asm/u-boot.h>

View file

@ -8,6 +8,7 @@
#include <asm/u-boot.h> #include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <common.h> #include <common.h>
#include <hang.h>
#include <image.h> #include <image.h>
#include <spl.h> #include <spl.h>
#include <asm/arch/clock_manager.h> #include <asm/arch/clock_manager.h>

View file

@ -4,6 +4,7 @@
*/ */
#include <common.h> #include <common.h>
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h> #include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>

View file

@ -4,6 +4,7 @@
* *
*/ */
#include <hang.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h> #include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>

Some files were not shown because too many files have changed in this diff Show more