ppc4xx: Move ppc4xx headers to powerpc include directory

This patch moves some ppc4xx related headers from the common include
directory (include/) to the powerpc specific one
(arch/powerpc/include/asm/). This way to common include directory is not
so cluttered with files.

Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Stefan Roese 2010-09-09 19:18:00 +02:00
parent 4ad0df2b7c
commit b36df56115
139 changed files with 149 additions and 149 deletions

View File

@ -45,7 +45,7 @@
#include <common.h>
#include <asm/processor.h>
#include <i2c.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#if defined(CONFIG_SPD_EEPROM) && !defined(CONFIG_440)

View File

@ -50,7 +50,7 @@
#include <common.h>
#include <asm/processor.h>
#include <i2c.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/mmu.h>
#include "ecc.h"

View File

@ -41,7 +41,7 @@
#include <common.h>
#include <command.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <i2c.h>
#include <asm/io.h>
#include <asm/processor.h>

View File

@ -38,7 +38,7 @@
#undef DEBUG
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/io.h>
#include <asm/processor.h>

View File

@ -27,7 +27,7 @@
#include <common.h>
#include <pci.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/errno.h>

View File

@ -49,7 +49,7 @@
#include <asm/processor.h>
#include <asm/io.h>
#include <watchdog.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#ifdef CONFIG_SERIAL_MULTI
#include <serial.h>

View File

@ -14,7 +14,7 @@
#include <config.h>
#include <config.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/cache.h>

View File

@ -23,7 +23,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/cache.h>

View File

@ -35,7 +35,7 @@
#include <watchdog.h>
#include <command.h>
#include <asm/cache.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -23,10 +23,10 @@
#include <common.h>
#include <watchdog.h>
#include <ppc4xx_enet.h>
#include <asm/ppc4xx-emac.h>
#include <asm/processor.h>
#include <asm/gpio.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#if defined(CONFIG_405GP) || defined(CONFIG_405EP)
DECLARE_GLOBAL_DATA_PTR;

View File

@ -24,7 +24,7 @@
#if defined(CONFIG_4xx) && defined(CONFIG_CMD_SETGETDCR)
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */

View File

@ -36,7 +36,7 @@
#include <common.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
/*-----------------------------------------------------------------------------+

View File

@ -40,7 +40,7 @@
#include <common.h>
#include <command.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <i2c.h>
#include <asm/io.h>
#include <asm/processor.h>

View File

@ -37,7 +37,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/processor.h>

View File

@ -25,7 +25,7 @@
#include <watchdog.h>
#include <command.h>
#include <asm/cache.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
#include <libfdt.h>

View File

@ -36,7 +36,7 @@
#include <command.h>
#include <asm/processor.h>
#include <asm/interrupt.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <commproc.h>

View File

@ -22,7 +22,7 @@
#include <config.h>
#include <command.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <version.h>
#define CONFIG_405GP 1 /* needed for Linux kernel header files */

View File

@ -41,8 +41,8 @@
#include <asm/io.h>
#include <ppc_asm.tmpl>
#include <commproc.h>
#include <ppc4xx_enet.h>
#include <405_mal.h>
#include <asm/ppc4xx-emac.h>
#include <asm/ppc4xx-mal.h>
#include <miiphy.h>
#if !defined(CONFIG_PHY_CLK_FREQ)

View File

@ -28,7 +28,7 @@
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/ppc4xx-uic.h>
#include <ppc4xx_enet.h>
#include <asm/ppc4xx-emac.h>
enum REGISTER_TYPE {
IDCR1, /* Indirectly Accessed DCR via SDRAM0_CFGADDR/SDRAM0_CFGDATA */

View File

@ -28,7 +28,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include "sdram.h"
#include "ecc.h"

View File

@ -23,7 +23,7 @@
#include <common.h>
#include <ppc_asm.tmpl>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -64,7 +64,7 @@
* address and (s)dram will be positioned at address 0
*/
#include <config.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <timestamp.h>
#include <version.h>

View File

@ -25,7 +25,7 @@
#if defined(CONFIG_440)
#include <ppc440.h>
#include <asm/ppc440.h>
#include <asm/cache.h>
#include <asm/io.h>
#include <asm/mmu.h>

View File

@ -36,7 +36,7 @@
#include <command.h>
#include <asm/processor.h>
#include <asm/interrupt.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <commproc.h>

View File

@ -21,7 +21,7 @@
#include <command.h>
#include <asm/processor.h>
#include <asm/interrupt.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <commproc.h>
#include <asm/io.h>

View File

@ -11,7 +11,7 @@
#ifndef __4XX_PCIE_H
#define __4XX_PCIE_H
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <pci.h>
#define DCRN_SDR0_CFGADDR 0x00e

View File

@ -44,7 +44,7 @@
#define _PPC4XX_ENET_H_
#include <net.h>
#include "405_mal.h"
#include "asm/ppc4xx-mal.h"
/*-----------------------------------------------------------------------------+

View File

@ -100,9 +100,9 @@
#endif /* 440EP/EPX 440GR/GRX 440SP/SPE 460EX/GT/SX 405EX*/
#if defined(CONFIG_440)
#include <ppc440.h>
#include <asm/ppc440.h>
#else
#include <ppc405.h>
#include <asm/ppc405.h>
#endif
#include <asm/ppc4xx-sdram.h>

View File

@ -23,7 +23,7 @@
#include <common.h>
#include <asm/processor.h>
#include <ppc405.h>
#include <asm/ppc405.h>
/* test-only: move into cpu directory!!! */

View File

@ -25,7 +25,7 @@
#include <asm/processor.h>
#include <asm/gpio.h>
#include <spd_sdram.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include "bamboo.h"
void ext_bus_cntlr_init(void);

View File

@ -32,9 +32,9 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include "bamboo.h"
#undef DEBUG

View File

@ -29,7 +29,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */

View File

@ -19,7 +19,7 @@
*/
#include <common.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <i2c.h>

View File

@ -32,7 +32,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */

View File

@ -32,7 +32,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#undef DEBUG

View File

@ -23,7 +23,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <i2c.h>
#include <libfdt.h>
#include <fdt_support.h>

View File

@ -22,8 +22,8 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <ppc405.h>
#include <asm/ppc4xx.h>
#include <asm/ppc405.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <asm/processor.h>

View File

@ -32,7 +32,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#undef DEBUG

View File

@ -23,7 +23,7 @@
#include <common.h>
#include <command.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <asm/ppc4xx-isram.h>
#include <spd_sdram.h>

View File

@ -22,8 +22,8 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <ppc405.h>
#include <asm/ppc4xx.h>
#include <asm/ppc405.h>
#include <libfdt.h>
#include <asm/processor.h>
#include <asm/gpio.h>

View File

@ -32,7 +32,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#undef DEBUG

View File

@ -28,7 +28,7 @@
#include "ocotea.h"
#include <asm/processor.h>
#include <spd_sdram.h>
#include <ppc4xx_enet.h>
#include <asm/ppc4xx-emac.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -26,7 +26,7 @@
#include <common.h>
#include "redwood.h"
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <i2c.h>
#include <asm/io.h>

View File

@ -31,7 +31,7 @@
#include <common.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <ppc440.h>
#include <asm/ppc440.h>
/*-----------------------------------------------------------------------------+
* Prototypes

View File

@ -25,7 +25,7 @@
#include <common.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/gpio.h>
#include <asm/processor.h>
#include <asm/io.h>

View File

@ -29,7 +29,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */

View File

@ -26,7 +26,7 @@
#include <common.h>
#include <asm/processor.h>
#include <spd_sdram.h>
#include <ppc4xx_enet.h>
#include <asm/ppc4xx-emac.h>
#include <netdev.h>
#ifdef CONFIG_SYS_INIT_SHOW_RESET_REG

View File

@ -29,7 +29,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#undef DEBUG

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <spd_sdram.h>

View File

@ -32,9 +32,9 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include "yucca.h"
#ifdef DEBUG

View File

@ -26,7 +26,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <i2c.h>
#include <netdev.h>
#include <asm/processor.h>

View File

@ -16,7 +16,7 @@
*
*/
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <pci.h>

View File

@ -23,7 +23,7 @@
#include <common.h>
#include <asm/processor.h>
#include <4xx_i2c.h>
#include <asm/ppc4xx-i2c.h>
#include <command.h>
#include <rtc.h>
#include <post.h>

View File

@ -35,7 +35,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/* The flash chip we use... */

View File

@ -41,7 +41,7 @@
/* Bank 6 - not used */
/* Bank 7 - FPGA registers */
/*-----------------------------------------------------------------------------#include <config.h> */
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */

View File

@ -25,7 +25,7 @@
#include <asm/processor.h>
#include <i2c.h>
#include <miiphy.h>
#include <ppc4xx_enet.h>
#include <asm/ppc4xx-emac.h>
void sdram_init(void);

View File

@ -22,7 +22,7 @@
*
*****************************************************************************/
#include <config.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */

View File

@ -25,7 +25,7 @@
#include <asm/processor.h>
#include <i2c.h>
#include <miiphy.h>
#include <ppc4xx_enet.h>
#include <asm/ppc4xx-emac.h>
void sdram_init(void);

View File

@ -22,7 +22,7 @@
*
*****************************************************************************/
#include <config.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <pci.h>

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */

View File

@ -35,7 +35,7 @@
/* */
/*----------------------------------------------------------------------------- */
#include <config.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -23,7 +23,7 @@
#include <common.h>
#ifdef __PPC__
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#endif
#include <asm/processor.h>

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <pci.h>

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -24,8 +24,8 @@
#include <common.h>
#include "du405.h"
#include <asm/processor.h>
#include <ppc4xx.h>
#include <4xx_i2c.h>
#include <asm/ppc4xx.h>
#include <asm/ppc4xx-i2c.h>
#include <command.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -24,7 +24,7 @@
#include <asm/bitops.h>
#include <command.h>
#include <i2c.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include "du440.h"
DECLARE_GLOBAL_DATA_PTR;

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -41,7 +41,7 @@
/* Bank 6 - not used */
/* Bank 7 - FPGA registers */
/*----------------------------------------------------------------------------- */
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -29,7 +29,7 @@
#include <common.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/bitops.h>

View File

@ -35,7 +35,7 @@
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/mmu.h>
#include <ppc440.h>
#include <asm/ppc440.h>
extern int denali_wait_for_dlllock(void);
extern void denali_core_search_data_eye(void);

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
/*#include <ppc4xx.h>*/
/*#include <asm/ppc4xx.h>*/
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
/*

View File

@ -26,7 +26,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/4xx_pci.h>

View File

@ -23,7 +23,7 @@
*/
#include <common.h>
#include <ppc440.h>
#include <asm/ppc440.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <i2c.h>

View File

@ -29,7 +29,7 @@
*/
#include <common.h>
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
#if CONFIG_SYS_MAX_FLASH_BANKS != 1

View File

@ -44,7 +44,7 @@
/* Bank 6 - not used */
/* Bank 7 - not used */
/*------------------------------------------------------------------------- */
#include <ppc4xx.h>
#include <asm/ppc4xx.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -19,7 +19,7 @@
*/
# include <common.h>
# include <ppc4xx.h>
# include <asm/ppc4xx.h>
# include <asm/processor.h>
# include <asm/io.h>
# include "jse_priv.h"

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