common: Drop asm/ptrace.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:
Simon Glass 2020-05-10 11:40:06 -06:00 committed by Tom Rini
parent f7ae49fc4f
commit 25a5818ff8
39 changed files with 38 additions and 1 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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,

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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)

View File

@ -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);

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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)
{ {

View File

@ -20,6 +20,7 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <command.h> #include <command.h>
#include <init.h> #include <init.h>
#include <irq_func.h> #include <irq_func.h>

View File

@ -24,6 +24,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)
{ {

View File

@ -14,6 +14,7 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <command.h> #include <command.h>
#include <init.h> #include <init.h>
#include <kgdb.h> #include <kgdb.h>

View File

@ -12,6 +12,7 @@
#include <asm/cpm_8xx.h> #include <asm/cpm_8xx.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/ptrace.h>
/************************************************************************/ /************************************************************************/

View File

@ -16,6 +16,7 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <command.h> #include <command.h>
#include <asm/processor.h> #include <asm/processor.h>

View File

@ -14,6 +14,7 @@
#ifdef CONFIG_LED_STATUS #ifdef CONFIG_LED_STATUS
#include <status_led.h> #include <status_led.h>
#endif #endif
#include <asm/ptrace.h>
#ifndef CONFIG_MPC83XX_TIMER #ifndef CONFIG_MPC83XX_TIMER
#ifndef CONFIG_SYS_WATCHDOG_FREQ #ifndef CONFIG_SYS_WATCHDOG_FREQ

View File

@ -1,6 +1,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <kgdb.h> #include <kgdb.h>
#include <asm/ptrace.h>
#include <asm/signal.h> #include <asm/signal.h>
#include <asm/processor.h> #include <asm/processor.h>

View File

@ -23,6 +23,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/lapic.h> #include <asm/lapic.h>
#include <asm/processor-flags.h> #include <asm/processor-flags.h>
#include <asm/ptrace.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@ -13,6 +13,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <irq_func.h> #include <irq_func.h>
#include <asm/ptrace.h>
#include <asm/string.h> #include <asm/string.h>
#include <asm/regs.h> #include <asm/regs.h>

View File

@ -7,6 +7,7 @@
#include <command.h> #include <command.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/ptrace.h>
#include <asm/system.h> #include <asm/system.h>
#include <cavium/thunderx_svc.h> #include <cavium/thunderx_svc.h>

View File

@ -23,6 +23,7 @@
#include <asm/arch/psu_init_gpl.h> #include <asm/arch/psu_init_gpl.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/ptrace.h>
#include <dm/device.h> #include <dm/device.h>
#include <dm/uclass.h> #include <dm/uclass.h>
#include <usb.h> #include <usb.h>

View File

@ -6,6 +6,7 @@
#include <cli.h> #include <cli.h>
#include <command.h> #include <command.h>
#include <console.h> #include <console.h>
#include <asm/ptrace.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <net.h> #include <net.h>
#include <bedbug/type.h> #include <bedbug/type.h>

View File

@ -1,6 +1,7 @@
/* $Id$ */ /* $Id$ */
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <bedbug/bedbug.h> #include <bedbug/bedbug.h>

View File

@ -88,6 +88,7 @@
****************************************************************************/ ****************************************************************************/
#include <common.h> #include <common.h>
#include <asm/ptrace.h>
#include <kgdb.h> #include <kgdb.h>
#include <command.h> #include <command.h>

View File

@ -11,6 +11,7 @@
#include <cpu_func.h> #include <cpu_func.h>
#include <kgdb.h> #include <kgdb.h>
#include <serial.h> #include <serial.h>
#include <asm/ptrace.h>
int (*debugger_exception_handler)(struct pt_regs *); int (*debugger_exception_handler)(struct pt_regs *);

View File

@ -7,6 +7,7 @@
#include <common.h> #include <common.h>
#include <log.h> #include <log.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
#include <dm/device_compat.h> #include <dm/device_compat.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/bitfield.h> #include <linux/bitfield.h>

View File

@ -10,6 +10,7 @@
#include <log.h> #include <log.h>
#include <zynqmp_firmware.h> #include <zynqmp_firmware.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/ptrace.h>
#if defined(CONFIG_ZYNQMP_IPI) #if defined(CONFIG_ZYNQMP_IPI)
#include <mailbox.h> #include <mailbox.h>

View File

@ -14,6 +14,7 @@
#include <time.h> #include <time.h>
#include <timer.h> #include <timer.h>
#include <watchdog.h> #include <watchdog.h>
#include <asm/ptrace.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@ -24,7 +24,6 @@
#include <linux/printk.h> #include <linux/printk.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/stringify.h> #include <linux/stringify.h>
#include <asm/ptrace.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <linux/kernel.h> #include <linux/kernel.h>