@@ -163,6 +163,7 @@ config MIPS_ALCHEMY
select GPIOLIB
select SYS_SUPPORTS_ZBOOT
select COMMON_CLK
+ select HAVE_MACH_HEAD_FILES
config AR7
bool "Texas Instruments AR7"
@@ -9,7 +9,6 @@ platform-$(CONFIG_MIPS_ALCHEMY) += alchemy/common/
# Db1550/Pb1550/Db1200/Pb1200/Db1300
#
platform-$(CONFIG_MIPS_DB1XXX) += alchemy/devboards/
-cflags-$(CONFIG_MIPS_DB1XXX) += -I$(srctree)/arch/mips/include/asm/mach-db1x00
load-$(CONFIG_MIPS_DB1XXX) += 0xffffffff80100000
#
@@ -35,4 +34,4 @@ load-$(CONFIG_MIPS_GPR) += 0xffffffff80100000
# compiler picks the board one. If they don't, it will make sure
# the alchemy generic gpio header is picked up.
-cflags-$(CONFIG_MIPS_ALCHEMY) += -I$(srctree)/arch/mips/include/asm/mach-au1x00
+cflags-$(CONFIG_MIPS_ALCHEMY) += -I$(srctree)/arch/mips/alchemy/include
@@ -22,9 +22,9 @@
#include <asm/idle.h>
#include <asm/reboot.h>
#include <asm/setup.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1000.h>
-#include <prom.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1000.h>
+#include <mach/prom.h>
const char *get_system_type(void)
{
@@ -20,10 +20,10 @@
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/setup.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1000.h>
-#include <asm/mach-au1x00/au1xxx_eth.h>
-#include <prom.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1000.h>
+#include <mach/au1xxx_eth.h>
+#include <mach/prom.h>
const char *get_system_type(void)
{
@@ -17,8 +17,8 @@
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/setup.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <prom.h>
+#include <mach/au1000.h>
+#include <mach/prom.h>
const char *get_system_type(void)
{
@@ -42,7 +42,7 @@
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/types.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
/* Base clock: 12MHz is the default in all databooks, and I haven't
* found any board yet which uses a different rate.
@@ -37,8 +37,8 @@
#include <linux/interrupt.h>
#include <linux/export.h>
#include <linux/syscore_ops.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_dbdma.h>
/*
* The Descriptor Based DMA supports up to 16 channels.
@@ -37,8 +37,8 @@
#include <linux/spinlock.h>
#include <linux/interrupt.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1000_dma.h>
+#include <mach/au1000.h>
+#include <mach/au1000_dma.h>
/*
* A note on resource allocation:
@@ -34,8 +34,8 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/gpio.h>
-#include <asm/mach-au1x00/gpio-au1000.h>
-#include <asm/mach-au1x00/gpio-au1300.h>
+#include <mach/gpio-au1000.h>
+#include <mach/gpio-au1300.h>
static int gpio2_get(struct gpio_chip *chip, unsigned offset)
{
@@ -32,8 +32,8 @@
#include <linux/syscore_ops.h>
#include <asm/irq_cpu.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1300.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1300.h>
/* Interrupt Controller register offsets */
#define IC_CFG0RD 0x40
@@ -21,12 +21,12 @@
#include <linux/usb/ehci_pdriver.h>
#include <linux/usb/ohci_pdriver.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1100_mmc.h>
-#include <asm/mach-au1x00/au1xxx_eth.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/au1100_mmc.h>
+#include <mach/au1xxx_eth.h>
-#include <prom.h>
+#include <mach/prom.h>
static void alchemy_8250_pm(struct uart_port *port, unsigned int state,
unsigned int old_state)
@@ -34,7 +34,7 @@
#include <linux/jiffies.h>
#include <linux/uaccess.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
/*
* We need to save/restore a bunch of core registers that are
@@ -31,7 +31,7 @@
#include <asm/dma-coherence.h>
#include <asm/mipsregs.h>
-#include <au1000.h>
+#include <mach/au1000.h>
extern void __init board_setup(void);
extern void __init alchemy_set_lpj(void);
@@ -27,7 +27,7 @@
#include <asm/idle.h>
#include <asm/processor.h>
#include <asm/time.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
/* 32kHz clock enabled and detected */
#define CNTR_OK (SYS_CNTRL_E0 | SYS_CNTRL_32S)
@@ -17,7 +17,7 @@
#include <linux/spinlock.h>
#include <linux/syscore_ops.h>
#include <asm/cpu.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
/* control register offsets */
#define AU1000_OHCICFG 0x7fffc
@@ -9,7 +9,7 @@
#include <linux/export.h>
#include <linux/spinlock.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#define VSS_GATE 0x00 /* gate wait timers */
#define VSS_CLKRST 0x04 /* clock/block control */
@@ -16,7 +16,7 @@
#include <linux/irq.h>
#include <asm/addrspace.h>
#include <asm/io.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/db1x00/bcsr.h>
static struct bcsr_reg {
void __iomem *raddr;
@@ -20,13 +20,13 @@
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/spi/ads7846.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1000.h>
-#include <asm/mach-au1x00/au1000_dma.h>
-#include <asm/mach-au1x00/au1100_mmc.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1000.h>
+#include <mach/au1000_dma.h>
+#include <mach/au1100_mmc.h>
+#include <mach/db1x00/bcsr.h>
#include <asm/reboot.h>
-#include <prom.h>
+#include <mach/prom.h>
#include "platform.h"
#define F_SWAPPED (bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1000_SWAPBOOT)
@@ -23,13 +23,13 @@
#include <linux/spi/flash.h>
#include <linux/smc91x.h>
#include <linux/ata_platform.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1100_mmc.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
-#include <asm/mach-au1x00/au1200fb.h>
-#include <asm/mach-au1x00/au1550_spi.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/au1100_mmc.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/au1xxx_psc.h>
+#include <mach/au1200fb.h>
+#include <mach/au1550_spi.h>
+#include <mach/db1x00/bcsr.h>
#include "platform.h"
@@ -24,14 +24,14 @@
#include <linux/smsc911x.h>
#include <linux/wm97xx.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1300.h>
-#include <asm/mach-au1x00/au1100_mmc.h>
-#include <asm/mach-au1x00/au1200fb.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
-#include <asm/mach-db1x00/bcsr.h>
-#include <asm/mach-au1x00/prom.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1300.h>
+#include <mach/au1100_mmc.h>
+#include <mach/au1200fb.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/au1xxx_psc.h>
+#include <mach/db1x00/bcsr.h>
+#include <mach/prom.h>
#include "platform.h"
@@ -19,15 +19,15 @@
#include <linux/spi/spi.h>
#include <linux/spi/flash.h>
#include <asm/bootinfo.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1000.h>
-#include <asm/mach-au1x00/au1xxx_eth.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
-#include <asm/mach-au1x00/au1550_spi.h>
-#include <asm/mach-au1x00/au1550nd.h>
-#include <asm/mach-db1x00/bcsr.h>
-#include <prom.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1000.h>
+#include <mach/au1xxx_eth.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/au1xxx_psc.h>
+#include <mach/au1550_spi.h>
+#include <mach/au1550nd.h>
+#include <mach/db1x00/bcsr.h>
+#include <mach/prom.h>
#include "platform.h"
static void __init db1550_hw_setup(void)
@@ -4,8 +4,8 @@
*/
#include <asm/prom.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/db1x00/bcsr.h>
int __init db1000_board_setup(void);
int __init db1000_dev_setup(void);
@@ -15,10 +15,10 @@
#include <asm/idle.h>
#include <asm/reboot.h>
#include <asm/setup.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/db1x00/bcsr.h>
-#include <prom.h>
+#include <mach/prom.h>
void __init prom_init(void)
{
@@ -9,9 +9,9 @@
#include <linux/kobject.h>
#include <linux/suspend.h>
#include <linux/sysfs.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/gpio-au1000.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/gpio-au1000.h>
+#include <mach/db1x00/bcsr.h>
/*
* Generic suspend userspace interface for Alchemy development boards.
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1000.h
rename to arch/mips/alchemy/include/mach/au1000.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1000_dma.h
rename to arch/mips/alchemy/include/mach/au1000_dma.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1100_mmc.h
rename to arch/mips/alchemy/include/mach/au1100_mmc.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1200fb.h
rename to arch/mips/alchemy/include/mach/au1200fb.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1550_spi.h
rename to arch/mips/alchemy/include/mach/au1550_spi.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1550nd.h
rename to arch/mips/alchemy/include/mach/au1550nd.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h
rename to arch/mips/alchemy/include/mach/au1xxx_dbdma.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1xxx_eth.h
rename to arch/mips/alchemy/include/mach/au1xxx_eth.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/au1xxx_psc.h
rename to arch/mips/alchemy/include/mach/au1xxx_psc.h
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h
rename to arch/mips/alchemy/include/mach/cpu-feature-overrides.h
similarity index 100%
rename from arch/mips/include/asm/mach-db1x00/bcsr.h
rename to arch/mips/alchemy/include/mach/db1x00/bcsr.h
similarity index 100%
rename from arch/mips/include/asm/mach-db1x00/irq.h
rename to arch/mips/alchemy/include/mach/db1x00/irq.h
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/floppy.h>
similarity index 99%
rename from arch/mips/include/asm/mach-au1x00/gpio-au1000.h
rename to arch/mips/alchemy/include/mach/gpio-au1000.h
@@ -9,7 +9,7 @@
#ifndef _ALCHEMY_GPIO_AU1000_H_
#define _ALCHEMY_GPIO_AU1000_H_
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
/* The default GPIO numberspace as documented in the Alchemy manuals.
* GPIO0-31 from GPIO1 block, GPIO200-215 from GPIO2 block.
similarity index 99%
rename from arch/mips/include/asm/mach-au1x00/gpio-au1300.h
rename to arch/mips/alchemy/include/mach/gpio-au1300.h
@@ -10,7 +10,7 @@
#include <asm/addrspace.h>
#include <asm/io.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
struct gpio;
struct gpio_chip;
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ide.h>
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/ioremap.h
rename to arch/mips/alchemy/include/mach/ioremap.h
new file mode 100644
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifdef CONFIG_MIPS_DB1XXX
+#include <mach/db1x00/irq.h>
+#else
+#include <asm/mach-generic/irq.h>
+#endif
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kernel-entry-init.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kmalloc.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mangle-port.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mc146818rtc.h>
similarity index 100%
rename from arch/mips/include/asm/mach-au1x00/prom.h
rename to arch/mips/alchemy/include/mach/prom.h
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/spaces.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/topology.h>
new file mode 100644
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/war.h>
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
void putc(char c)
{
@@ -19,7 +19,7 @@
#include <linux/vmalloc.h>
#include <asm/dma-coherence.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#include <asm/tlbmisc.h>
#ifdef CONFIG_PCI_DEBUG
@@ -22,8 +22,8 @@
#include <linux/i2c.h>
#include <linux/slab.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_psc.h>
#define PSC_SEL 0x00
#define PSC_CTRL 0x04
@@ -44,9 +44,9 @@
#include <linux/slab.h>
#include <asm/io.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1100_mmc.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/au1100_mmc.h>
#define DRIVER_NAME "au1xxx-mmc"
@@ -11,8 +11,8 @@
#include <linux/mtd/partitions.h>
#include <linux/platform_device.h>
#include <asm/io.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1550nd.h>
+#include <mach/au1000.h>
+#include <mach/au1550nd.h>
struct au1550nd_ctx {
@@ -46,9 +46,9 @@
#include <asm/irq.h>
#include <asm/processor.h>
-#include <au1000.h>
-#include <au1xxx_eth.h>
-#include <prom.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_eth.h>
+#include <mach/prom.h>
#include "au1000_eth.h"
@@ -34,8 +34,8 @@
#include <pcmcia/ss.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/db1x00/bcsr.h>
#define MEM_MAP_SIZE 0x400000
#define IO_MAP_SIZE 0x1000
@@ -23,7 +23,7 @@
#include <pcmcia/cistpl.h>
#include <asm/irq.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#define MEM_MAP_SIZE 0x400000
#define IO_MAP_SIZE 0x1000
@@ -23,7 +23,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
/* 32kHz clock enabled and detected */
#define CNTR_OK (SYS_CNTRL_E0 | SYS_CNTRL_32S)
@@ -20,11 +20,11 @@
#include <linux/spi/spi_bitbang.h>
#include <linux/dma-mapping.h>
#include <linux/completion.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_psc.h>
+#include <mach/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1550_spi.h>
+#include <mach/au1550_spi.h>
static unsigned usedma = 1;
module_param(usedma, uint, 0644);
@@ -55,7 +55,7 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#define DEBUG 0
@@ -30,7 +30,7 @@
#ifndef _AU1100LCD_H
#define _AU1100LCD_H
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#define print_err(f, arg...) printk(KERN_ERR DRIVER_NAME ": " f "\n", ## arg)
#define print_warn(f, arg...) printk(KERN_WARNING DRIVER_NAME ": " f "\n", ## arg)
@@ -45,8 +45,8 @@
#include <linux/slab.h>
#include <linux/uaccess.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1200fb.h> /* platform_data */
+#include <mach/au1000.h>
+#include <mach/au1200fb.h> /* platform_data */
#include "au1200fb.h"
#define DRIVER_NAME "au1200fb"
@@ -41,7 +41,7 @@
#include <linux/uaccess.h>
#include <linux/gpio/consumer.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#define MTX1_WDT_INTERVAL (5 * HZ)
@@ -20,7 +20,7 @@
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#include "psc.h"
@@ -14,8 +14,8 @@
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/db1x00/bcsr.h>
#include "psc.h"
@@ -14,10 +14,10 @@
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-db1x00/bcsr.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_psc.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/db1x00/bcsr.h>
#include "../codecs/wm8731.h"
#include "psc.h"
@@ -20,9 +20,9 @@
#include <sound/pcm_params.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_dbdma.h>
+#include <mach/au1xxx_psc.h>
#include "psc.h"
@@ -17,8 +17,8 @@
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1000_dma.h>
+#include <mach/au1000.h>
+#include <mach/au1000_dma.h>
#include "psc.h"
@@ -15,7 +15,7 @@
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
+#include <mach/au1000.h>
#include "psc.h"
@@ -19,8 +19,8 @@
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_psc.h>
#include "psc.h"
@@ -18,8 +18,8 @@
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>
-#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-au1x00/au1xxx_psc.h>
+#include <mach/au1000.h>
+#include <mach/au1xxx_psc.h>
#include "psc.h"
Remove header files from arch/mips/include/asm/mach-au1x00 to arch/mips/alchemy/common/include/mach Signed-off-by: bibo mao <maobibo@loongson.cn> --- arch/mips/Kconfig | 1 + arch/mips/alchemy/Platform | 3 +-- arch/mips/alchemy/board-gpr.c | 6 +++--- arch/mips/alchemy/board-mtx1.c | 8 ++++---- arch/mips/alchemy/board-xxs1500.c | 4 ++-- arch/mips/alchemy/common/clock.c | 2 +- arch/mips/alchemy/common/dbdma.c | 4 ++-- arch/mips/alchemy/common/dma.c | 4 ++-- arch/mips/alchemy/common/gpiolib.c | 4 ++-- arch/mips/alchemy/common/irq.c | 4 ++-- arch/mips/alchemy/common/platform.c | 10 +++++----- arch/mips/alchemy/common/power.c | 2 +- arch/mips/alchemy/common/setup.c | 2 +- arch/mips/alchemy/common/time.c | 2 +- arch/mips/alchemy/common/usb.c | 2 +- arch/mips/alchemy/common/vss.c | 2 +- arch/mips/alchemy/devboards/bcsr.c | 2 +- arch/mips/alchemy/devboards/db1000.c | 12 ++++++------ arch/mips/alchemy/devboards/db1200.c | 14 +++++++------- arch/mips/alchemy/devboards/db1300.c | 16 ++++++++-------- arch/mips/alchemy/devboards/db1550.c | 18 +++++++++--------- arch/mips/alchemy/devboards/db1xxx.c | 4 ++-- arch/mips/alchemy/devboards/platform.c | 6 +++--- arch/mips/alchemy/devboards/pm.c | 6 +++--- .../asm/mach-au1x00 => alchemy/include/mach}/au1000.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1000_dma.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1100_mmc.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1200fb.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1550_spi.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1550nd.h | 0 .../include/mach}/au1xxx_dbdma.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1xxx_eth.h | 0 .../mach-au1x00 => alchemy/include/mach}/au1xxx_psc.h | 0 .../include/mach}/cpu-feature-overrides.h | 0 .../mach-db1x00 => alchemy/include/mach/db1x00}/bcsr.h | 0 .../mach-db1x00 => alchemy/include/mach/db1x00}/irq.h | 0 arch/mips/alchemy/include/mach/floppy.h | 2 ++ .../mach-au1x00 => alchemy/include/mach}/gpio-au1000.h | 2 +- .../mach-au1x00 => alchemy/include/mach}/gpio-au1300.h | 2 +- arch/mips/alchemy/include/mach/ide.h | 2 ++ .../asm/mach-au1x00 => alchemy/include/mach}/ioremap.h | 0 arch/mips/alchemy/include/mach/irq.h | 6 ++++++ arch/mips/alchemy/include/mach/kernel-entry-init.h | 2 ++ arch/mips/alchemy/include/mach/kmalloc.h | 2 ++ arch/mips/alchemy/include/mach/mangle-port.h | 2 ++ arch/mips/alchemy/include/mach/mc146818rtc.h | 2 ++ .../asm/mach-au1x00 => alchemy/include/mach}/prom.h | 0 arch/mips/alchemy/include/mach/spaces.h | 2 ++ arch/mips/alchemy/include/mach/topology.h | 2 ++ arch/mips/alchemy/include/mach/war.h | 2 ++ arch/mips/boot/compressed/uart-alchemy.c | 2 +- arch/mips/pci/pci-alchemy.c | 2 +- drivers/i2c/busses/i2c-au1550.c | 4 ++-- drivers/mmc/host/au1xmmc.c | 6 +++--- drivers/mtd/nand/raw/au1550nd.c | 4 ++-- drivers/net/ethernet/amd/au1000_eth.c | 6 +++--- drivers/pcmcia/db1xxx_ss.c | 4 ++-- drivers/pcmcia/xxs1500_ss.c | 2 +- drivers/rtc/rtc-au1xxx.c | 2 +- drivers/spi/spi-au1550.c | 8 ++++---- drivers/video/fbdev/au1100fb.c | 2 +- drivers/video/fbdev/au1100fb.h | 2 +- drivers/video/fbdev/au1200fb.c | 4 ++-- drivers/watchdog/mtx-1_wdt.c | 2 +- sound/soc/au1x/ac97c.c | 2 +- sound/soc/au1x/db1000.c | 4 ++-- sound/soc/au1x/db1200.c | 8 ++++---- sound/soc/au1x/dbdma2.c | 6 +++--- sound/soc/au1x/dma.c | 4 ++-- sound/soc/au1x/i2sc.c | 2 +- sound/soc/au1x/psc-ac97.c | 4 ++-- sound/soc/au1x/psc-i2s.c | 4 ++-- 72 files changed, 137 insertions(+), 113 deletions(-) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1000.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1000_dma.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1100_mmc.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1200fb.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1550_spi.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1550nd.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1xxx_dbdma.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1xxx_eth.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/au1xxx_psc.h (100%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/cpu-feature-overrides.h (100%) rename arch/mips/{include/asm/mach-db1x00 => alchemy/include/mach/db1x00}/bcsr.h (100%) rename arch/mips/{include/asm/mach-db1x00 => alchemy/include/mach/db1x00}/irq.h (100%) create mode 100644 arch/mips/alchemy/include/mach/floppy.h rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/gpio-au1000.h (99%) rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/gpio-au1300.h (99%) create mode 100644 arch/mips/alchemy/include/mach/ide.h rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/ioremap.h (100%) create mode 100644 arch/mips/alchemy/include/mach/irq.h create mode 100644 arch/mips/alchemy/include/mach/kernel-entry-init.h create mode 100644 arch/mips/alchemy/include/mach/kmalloc.h create mode 100644 arch/mips/alchemy/include/mach/mangle-port.h create mode 100644 arch/mips/alchemy/include/mach/mc146818rtc.h rename arch/mips/{include/asm/mach-au1x00 => alchemy/include/mach}/prom.h (100%) create mode 100644 arch/mips/alchemy/include/mach/spaces.h create mode 100644 arch/mips/alchemy/include/mach/topology.h create mode 100644 arch/mips/alchemy/include/mach/war.h