mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
m68k: Remove common.h usage
We can remove common.h from most cases of the code here, and only a few places need an additional header instead. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Angelo Dureghello <angelo@kernel-space.org>
This commit is contained in:
parent
60c08dd771
commit
07011890a6
39 changed files with 17 additions and 30 deletions
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
|
||||
/* CPU specific interrupt routine */
|
||||
#include <common.h>
|
||||
#include <irq_func.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* Copyright (C) 2008 Arthur Shipkowski (art@videon-central.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
|
@ -25,7 +25,6 @@
|
|||
#include <asm/io.h>
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
#include <config.h>
|
||||
#include <net.h>
|
||||
#include <asm/fec.h>
|
||||
#endif
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <irq_func.h>
|
||||
#include <watchdog.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* Hayden Fraser (Hayden.Fraser@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <init.h>
|
||||
#include <vsprintf.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <irq_func.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
|
||||
/* CPU specific interrupt routine */
|
||||
#include <common.h>
|
||||
#include <irq_func.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* CPU specific dspi routines
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
*/
|
||||
|
||||
/* CPU specific interrupt routine */
|
||||
#include <common.h>
|
||||
#include <irq_func.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm-offsets.h>
|
||||
#include <config.h>
|
||||
#include <asm/cache.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef __IMMAP_H
|
||||
#define __IMMAP_H
|
||||
|
||||
#include <config.h>
|
||||
#if defined(CONFIG_MCF520x)
|
||||
#include <asm/immap_520x.h>
|
||||
#include <asm/m520x.h>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#define MMAP_GPIO (CFG_SYS_MBAR + 0x000A4000)
|
||||
#define MMAP_SDRAM (CFG_SYS_MBAR + 0x000A8000)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/crossbar.h>
|
||||
#include <asm/coldfire/edma.h>
|
||||
#include <asm/coldfire/eport.h>
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#define MMAP_ETPU (CFG_SYS_MBAR + 0x001D0000)
|
||||
#define MMAP_CAN2 (CFG_SYS_MBAR + 0x001F0000)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/eport.h>
|
||||
#include <asm/coldfire/flexbus.h>
|
||||
#include <asm/coldfire/flexcan.h>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#define MMAP_FEC (CFG_SYS_MBAR + 0x00000840)
|
||||
#define MMAP_USB (CFG_SYS_MBAR + 0x00001000)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/pwm.h>
|
||||
|
||||
/* System configuration registers */
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#define MMAP_USB (CFG_SYS_MBAR + 0x001C0000)
|
||||
#define MMAP_PWM0 (CFG_SYS_MBAR + 0x001D0000)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/eport.h>
|
||||
#include <asm/coldfire/flexbus.h>
|
||||
#include <asm/coldfire/intctrl.h>
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#define MMAP_CFMC (CFG_SYS_MBAR + 0x001D0000)
|
||||
#define MMAP_CFMMEM (CFG_SYS_MBAR + 0x04000000)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/eport.h>
|
||||
#include <asm/coldfire/flexbus.h>
|
||||
#include <asm/coldfire/flexcan.h>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#define MMAP_IIM (CFG_SYS_MBAR + 0x000C8000)
|
||||
#define MMAP_ESDHC (CFG_SYS_MBAR + 0x000CC000)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/crossbar.h>
|
||||
#include <asm/coldfire/dspi.h>
|
||||
#include <asm/coldfire/edma.h>
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
#define MMAP_UART1 (CFG_SYS_MBAR + 0x00000200)
|
||||
#define MMAP_GPIO (CFG_SYS_MBAR + 0x00000244)
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
typedef struct sim {
|
||||
u8 rsr;
|
||||
u8 sypcr;
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#define MMAP_SSI 0xFC0BC000
|
||||
#define MMAP_PLL 0xFC0C0000
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/crossbar.h>
|
||||
#include <asm/coldfire/edma.h>
|
||||
#include <asm/coldfire/eport.h>
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
#define MMAP_CCM 0xEC090000
|
||||
#define MMAP_GPIO 0xEC094000
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/coldfire/crossbar.h>
|
||||
#include <asm/coldfire/dspi.h>
|
||||
#include <asm/coldfire/edma.h>
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <init.h>
|
||||
#include <asm/u-boot.h>
|
||||
#include <asm/global_data.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootstage.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <cpu_func.h>
|
||||
#include <asm/immap.h>
|
||||
#include <asm/cache.h>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* (C) 2019 Angelo Dureghello <angelo.dureghello@timesys.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <fdt_support.h>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <stdio.h>
|
||||
#include <irq_func.h>
|
||||
#include <watchdog.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <irq_func.h>
|
||||
#include <time.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
#include <command.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue