Commit 25a5818f authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

common: Drop asm/ptrace.h from common header



Move this uncommon header out of the common header.
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent f7ae49fc
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/arch/crm_regs.h> #include <asm/arch/crm_regs.h>
#include <asm/ptrace.h>
/* General purpose timers bitfields */ /* General purpose timers bitfields */
#define GPTCR_SWR (1<<15) /* Software reset */ #define GPTCR_SWR (1<<15) /* Software reset */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <init.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/ptrace.h>
/* nothing really to do with interrupts, just starts up a counter. */ /* nothing really to do with interrupts, just starts up a counter. */
/* The 32KHz 32-bit timer overruns in 134217 seconds */ /* The 32KHz 32-bit timer overruns in 134217 seconds */
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <time.h> #include <time.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/ptrace.h>
/* General purpose timers bitfields */ /* General purpose timers bitfields */
#define GPTCR_SWR (1 << 15) /* Software reset */ #define GPTCR_SWR (1 << 15) /* Software reset */
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <spl.h> #include <spl.h>
#include <version.h> #include <version.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/ptrace.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/spr_defs.h> #include <asm/arch/spr_defs.h>
#include <asm/arch/spr_misc.h> #include <asm/arch/spr_misc.h>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/spr_gpt.h> #include <asm/arch/spr_gpt.h>
#include <asm/arch/spr_misc.h> #include <asm/arch/spr_misc.h>
#include <asm/ptrace.h>
#define GPT_RESOLUTION (CONFIG_SPEAR_HZ_CLOCK / CONFIG_SPEAR_HZ) #define GPT_RESOLUTION (CONFIG_SPEAR_HZ_CLOCK / CONFIG_SPEAR_HZ)
#define READ_TIMER() (readl(&gpt_regs_p->count) & GPT_FREE_RUNNING) #define READ_TIMER() (readl(&gpt_regs_p->count) & GPT_FREE_RUNNING)
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <vsprintf.h> #include <vsprintf.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/ptrace.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <asm/system.h> #include <asm/system.h>
#include <fm_eth.h> #include <fm_eth.h>
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <image.h> #include <image.h>
#include <log.h> #include <log.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/system.h> #include <asm/system.h>
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#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>
#include <asm/ptrace.h>
#include <asm/u-boot-arm.h> #include <asm/u-boot-arm.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <irq_func.h> #include <irq_func.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <efi_loader.h> #include <efi_loader.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <common.h> #include <common.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
unsigned long call_imx_sip(unsigned long id, unsigned long reg0, unsigned long call_imx_sip(unsigned long id, unsigned long reg0,
unsigned long reg1, unsigned long reg2, unsigned long reg1, unsigned long reg2,
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <asm/arch/boot.h> #include <asm/arch/boot.h>
#include <env.h> #include <env.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <linux/err.h> #include <linux/err.h>
#include <asm/arch/mem.h> #include <asm/arch/mem.h>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <log.h> #include <log.h>
#include <asm/arch/sm.h> #include <asm/arch/sm.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <dm.h> #include <dm.h>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <fdtdec.h> #include <fdtdec.h>
#include <init.h> #include <init.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <pci.h> #include <pci.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <common.h> #include <common.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/soc.h> #include <asm/arch/soc.h>
#include <asm/ptrace.h>
#include <asm/system.h> #include <asm/system.h>
#include <linux/sizes.h> #include <linux/sizes.h>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <watchdog.h> #include <watchdog.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/immap.h> #include <asm/immap.h>
#include <asm/ptrace.h>
#define NR_IRQS (CONFIG_SYS_NUM_IRQS) #define NR_IRQS (CONFIG_SYS_NUM_IRQS)
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <watchdog.h> #include <watchdog.h>
#include <command.h> #include <command.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/ptrace.h>
extern void _exc_handler(void); extern void _exc_handler(void);
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <hang.h> #include <hang.h>
#include <init.h> #include <init.h>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <irq_func.h> #include <irq_func.h>
#include <mpc83xx.h> #include <mpc83xx.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/ptrace.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <command.h> #include <command.h>
#include <kgdb.h> #include <kgdb.h>
#include <asm/processor.h> #include <asm/processor.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#ifdef CONFIG_POST #ifdef CONFIG_POST
#include <post.h> #include <post.h>
#endif #endif
#include <asm/ptrace.h>
void interrupt_init_cpu(unsigned *decrementer_count) void interrupt_init_cpu(unsigned *decrementer_count)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment