@@ -1889,10 +1889,7 @@ M: Gregory Clement <gregory.clement@bootlin.com>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S: Maintained
F: Documentation/devicetree/bindings/soc/dove/
-F: arch/arm/mach-dove/
-F: arch/arm/mach-mv78xx0/
-F: arch/arm/mach-orion5x/
-F: arch/arm/plat-orion/
+F: arch/arm/mach-orion/
F: arch/arm/boot/dts/dove*
F: arch/arm/boot/dts/orion5x*
T: git git://git.infradead.org/linux-mvebu.git
@@ -2050,7 +2047,7 @@ M: Alexander Clouter <alex@digriz.org.uk>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
W: http://www.digriz.org.uk/ts78xx/kernel
S: Maintained
-F: arch/arm/mach-orion5x/ts78xx-*
+F: arch/arm/mach-orion/ts78xx-*
ARM/OXNAS platform support
M: Neil Armstrong <narmstrong@baylibre.com>
@@ -616,8 +616,6 @@ source "arch/arm/mach-davinci/Kconfig"
source "arch/arm/mach-digicolor/Kconfig"
-source "arch/arm/mach-dove/Kconfig"
-
source "arch/arm/mach-ep93xx/Kconfig"
source "arch/arm/mach-exynos/Kconfig"
@@ -651,8 +649,6 @@ source "arch/arm/mach-mmp/Kconfig"
source "arch/arm/mach-moxart/Kconfig"
-source "arch/arm/mach-mv78xx0/Kconfig"
-
source "arch/arm/mach-mvebu/Kconfig"
source "arch/arm/mach-mxs/Kconfig"
@@ -669,7 +665,7 @@ source "arch/arm/mach-omap1/Kconfig"
source "arch/arm/mach-omap2/Kconfig"
-source "arch/arm/mach-orion5x/Kconfig"
+source "arch/arm/mach-orion/Kconfig"
source "arch/arm/mach-oxnas/Kconfig"
@@ -764,17 +760,6 @@ config PLAT_IOP
bool
select GENERIC_CLOCKEVENTS
-config PLAT_ORION
- bool
- select CLKSRC_MMIO
- select COMMON_CLK
- select GENERIC_IRQ_CHIP
- select IRQ_DOMAIN
-
-config PLAT_ORION_LEGACY
- bool
- select PLAT_ORION
-
config PLAT_VERSATILE
bool
@@ -171,7 +171,6 @@ machine-$(CONFIG_ARCH_CLPS711X) += clps711x
machine-$(CONFIG_ARCH_CNS3XXX) += cns3xxx
machine-$(CONFIG_ARCH_DAVINCI) += davinci
machine-$(CONFIG_ARCH_DIGICOLOR) += digicolor
-machine-$(CONFIG_ARCH_DOVE) += dove
machine-$(CONFIG_ARCH_EBSA110) += ebsa110
machine-$(CONFIG_ARCH_EFM32) += efm32
machine-$(CONFIG_ARCH_EP93XX) += ep93xx
@@ -188,7 +187,6 @@ machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx
machine-$(CONFIG_ARCH_MESON) += meson
machine-$(CONFIG_ARCH_MMP) += mmp
machine-$(CONFIG_ARCH_MOXART) += moxart
-machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0
machine-$(CONFIG_ARCH_MVEBU) += mvebu
machine-$(CONFIG_ARCH_MXC) += imx
machine-$(CONFIG_ARCH_MEDIATEK) += mediatek
@@ -200,7 +198,7 @@ machine-$(CONFIG_ARCH_NSPIRE) += nspire
machine-$(CONFIG_ARCH_OXNAS) += oxnas
machine-$(CONFIG_ARCH_OMAP1) += omap1
machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
-machine-$(CONFIG_ARCH_ORION5X) += orion5x
+machine-$(CONFIG_PLAT_ORION) += orion
machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
machine-$(CONFIG_ARCH_PXA) += pxa
machine-$(CONFIG_ARCH_QCOM) += qcom
@@ -233,7 +231,6 @@ plat-$(CONFIG_ARCH_EXYNOS) += samsung
plat-$(CONFIG_ARCH_OMAP) += omap
plat-$(CONFIG_ARCH_S3C64XX) += samsung
plat-$(CONFIG_ARCH_S5PV210) += samsung
-plat-$(CONFIG_PLAT_ORION) += orion
plat-$(CONFIG_PLAT_S3C24XX) += samsung
ifeq ($(CONFIG_ARCH_EBSA110),y)
deleted file mode 100644
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include
-
-obj-y += common.o
-obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o
-obj-$(CONFIG_PCI) += pcie.o
-obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
-obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
new file mode 100644
@@ -0,0 +1,14 @@
+config PLAT_ORION
+ bool
+ select CLKSRC_MMIO
+ select COMMON_CLK
+ select GENERIC_IRQ_CHIP
+ select IRQ_DOMAIN
+
+config PLAT_ORION_LEGACY
+ bool
+ select PLAT_ORION
+
+source "arch/arm/mach-orion/Kconfig.dove"
+source "arch/arm/mach-orion/Kconfig.mv78xx0"
+source "arch/arm/mach-orion/Kconfig.orion5x"
similarity index 100%
rename from arch/arm/mach-dove/Kconfig
rename to arch/arm/mach-orion/Kconfig.dove
similarity index 100%
rename from arch/arm/mach-mv78xx0/Kconfig
rename to arch/arm/mach-orion/Kconfig.mv78xx0
similarity index 100%
rename from arch/arm/mach-orion5x/Kconfig
rename to arch/arm/mach-orion/Kconfig.orion5x
similarity index 62%
rename from arch/arm/plat-orion/Makefile
rename to arch/arm/mach-orion/Makefile
@@ -7,3 +7,15 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
orion-gpio-$(CONFIG_GPIOLIB) += gpio.o
obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o
obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y)
+
+ifdef CONFIG_ARCH_DOVE
+include $(src)/Makefile.dove
+endif
+
+ifdef CONFIG_ARCH_MV78XX0
+include $(src)/Makefile.mv78xx0
+endif
+
+ifdef CONFIG_ARCH_ORION5X
+include $(src)/Makefile.orion5x
+endif
similarity index 100%
rename from arch/arm/mach-dove/Makefile.boot
rename to arch/arm/mach-orion/Makefile.boot
new file mode 100644
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-y += dove-common.o
+obj-$(CONFIG_DOVE_LEGACY) += dove-irq.o dove-mpp.o
+obj-$(CONFIG_PCI) += dove-pcie.o
+obj-$(CONFIG_MACH_DOVE_DB) += dove-db-setup.o
+obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
similarity index 62%
rename from arch/arm/mach-mv78xx0/Makefile
rename to arch/arm/mach-orion/Makefile.mv78xx0
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include
-
-obj-y += common.o mpp.o irq.o pcie.o
+obj-y += mv78xx0-common.o mv78xx0-mpp.o mv78xx0-irq.o mv78xx0-pcie.o
obj-$(CONFIG_MACH_DB78X00_BP) += db78x00-bp-setup.o
obj-$(CONFIG_MACH_RD78X00_MASA) += rd78x00-masa-setup.o
obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o
similarity index 90%
rename from arch/arm/mach-orion5x/Makefile
rename to arch/arm/mach-orion/Makefile.orion5x
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include
-
-obj-y += common.o pci.o irq.o mpp.o
+obj-y += orion5x.o orion5x-pci.o orion5x-irq.o orion5x-mpp.o
obj-$(CONFIG_MACH_DB88F5281) += db88f5281-setup.o
obj-$(CONFIG_MACH_RD88F5182) += rd88f5182-setup.o
obj-$(CONFIG_MACH_KUROBOX_PRO) += kurobox_pro-setup.o
similarity index 96%
rename from arch/arm/plat-orion/include/plat/addr-map.h
rename to arch/arm/mach-orion/addr-map.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/addr-map.h
- *
* Marvell Orion SoC address map handling.
*
* This file is licensed under the terms of the GNU General Public
similarity index 97%
rename from arch/arm/mach-orion5x/board-d2net.c
rename to arch/arm/mach-orion/board-d2net.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/board-d2net.c
- *
* LaCie d2Network and Big Disk Network NAS setup
*
* Copyright (C) 2009 Simon Guinot <sguinot@lacie.com>
@@ -20,8 +18,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include <plat/orion-gpio.h>
-#include "common.h"
+#include "orion-gpio.h"
+#include "orion5x-common.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 94%
rename from arch/arm/mach-orion5x/board-dt.c
rename to arch/arm/mach-orion/board-dt.c
@@ -1,8 +1,6 @@
/*
* Copyright 2012 (C), Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
*
- * arch/arm/mach-orion5x/board-dt.c
- *
* Flattened Device Tree board initialization
*
* This file is licensed under the terms of the GNU General Public
@@ -20,11 +18,11 @@
#include <asm/system_misc.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
-#include <plat/irq.h>
-#include <plat/time.h>
+#include "irq.h"
+#include "time.h"
#include "orion5x.h"
-#include "bridge-regs.h"
-#include "common.h"
+#include "orion5x-bridge-regs.h"
+#include "orion5x-common.h"
static struct of_dev_auxdata orion5x_auxdata_lookup[] __initdata = {
OF_DEV_AUXDATA("marvell,orion-spi", 0xf1010600, "orion_spi.0", NULL),
similarity index 97%
rename from arch/arm/mach-orion5x/board-mss2.c
rename to arch/arm/mach-orion/board-mss2.c
@@ -14,8 +14,8 @@
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include "orion5x.h"
-#include "bridge-regs.h"
-#include "common.h"
+#include "orion5x-bridge-regs.h"
+#include "orion5x-common.h"
/*****************************************************************************
* Maxtor Shared Storage II Info
similarity index 97%
rename from arch/arm/mach-orion5x/board-rd88f5182.c
rename to arch/arm/mach-orion/board-rd88f5182.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/rd88f5182-setup.c
- *
* Marvell Orion-NAS Reference Design Setup
*
* Maintainer: Ronen Shitrit <rshitrit@marvell.com>
@@ -18,7 +16,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
+#include "orion5x-common.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 97%
rename from arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
rename to arch/arm/mach-orion/buffalo-wxl-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
- *
* Buffalo WXL (Terastation Duo) Setup routines
*
* sebastien requiem <sebastien@requiem.fr>
@@ -20,8 +18,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include "mv78xx0.h"
-#include "common.h"
-#include "mpp.h"
+#include "mv78xx0-common.h"
+#include "mv78xx0-mpp.h"
/* This arch has 2 Giga Ethernet */
similarity index 97%
rename from arch/arm/mach-dove/cm-a510.c
rename to arch/arm/mach-orion/cm-a510.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-dove/cm-a510.c
- *
* Copyright (C) 2010 CompuLab, Ltd.
* Konstantin Sinyuk <kostyas@compulab.co.il>
*
@@ -23,7 +21,7 @@
#include <asm/mach/arch.h>
#include "dove.h"
-#include "common.h"
+#include "dove-common.h"
static struct mv643xx_eth_platform_data cm_a510_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR_DEFAULT,
similarity index 99%
rename from arch/arm/plat-orion/common.c
rename to arch/arm/mach-orion/common.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/common.c
- *
* Marvell Orion SoC common setup code used by multiple mach-/common.c
*
* This file is licensed under the terms of the GNU General Public
@@ -21,7 +19,7 @@
#include <linux/platform_data/dsa.h>
#include <linux/platform_data/dma-mv_xor.h>
#include <linux/platform_data/usb-ehci-orion.h>
-#include <plat/common.h>
+#include "common.h"
#include <linux/phy.h>
/* Create a clkdev entry for a given device/clk */
similarity index 98%
rename from arch/arm/plat-orion/include/plat/common.h
rename to arch/arm/mach-orion/common.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/common.h
- *
* Marvell Orion SoC common setup code used by different mach-/common.c
*
* This file is licensed under the terms of the GNU General Public
similarity index 97%
rename from arch/arm/mach-mv78xx0/db78x00-bp-setup.c
rename to arch/arm/mach-orion/db78x00-bp-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78xx0/db78x00-bp-setup.c
- *
* Marvell DB-78x00-BP Development Board Setup
*
* This file is licensed under the terms of the GNU General Public
@@ -18,7 +16,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include "mv78xx0.h"
-#include "common.h"
+#include "mv78xx0-common.h"
static struct mv643xx_eth_platform_data db78x00_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(8),
similarity index 99%
rename from arch/arm/mach-orion5x/db88f5281-setup.c
rename to arch/arm/mach-orion/db88f5281-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/db88f5281-setup.c
- *
* Marvell Orion-2 Development Board Setup
*
* Maintainer: Tzachi Perelstein <tzachi@marvell.com>
@@ -24,8 +22,8 @@
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include <linux/platform_data/mtd-orion_nand.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 99%
rename from arch/arm/mach-orion5x/dns323-setup.c
rename to arch/arm/mach-orion/dns323-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/dns323-setup.c
- *
* Copyright (C) 2007 Herbert Valerio Riedel <hvr@gnu.org>
*
* Support for HW Rev C1:
@@ -33,10 +31,10 @@
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include <asm/system_info.h>
-#include <plat/orion-gpio.h>
+#include "orion-gpio.h"
#include "orion5x.h"
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
/* Rev A1 and B1 */
#define DNS323_GPIO_LED_RIGHT_AMBER 1
similarity index 100%
rename from arch/arm/mach-dove/bridge-regs.h
rename to arch/arm/mach-orion/dove-bridge-regs.h
similarity index 98%
rename from arch/arm/mach-dove/common.c
rename to arch/arm/mach-orion/dove-common.c
@@ -1,7 +1,4 @@
/*
- * arch/arm/mach-dove/common.c
- *
- * Core functions for Marvell Dove 88AP510 System On Chip
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
@@ -22,12 +19,12 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
-#include <plat/common.h>
-#include <plat/irq.h>
-#include <plat/time.h>
-#include "bridge-regs.h"
-#include "pm.h"
#include "common.h"
+#include "irq.h"
+#include "time.h"
+#include "dove-bridge-regs.h"
+#include "dove-pm.h"
+#include "dove-common.h"
/* These can go away once Dove uses the mvebu-mbus DT binding */
#define DOVE_MBUS_PCIE0_MEM_TARGET 0x4
similarity index 97%
rename from arch/arm/mach-dove/common.h
rename to arch/arm/mach-orion/dove-common.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-dove/common.h
- *
* Core functions for Marvell Dove 88AP510 System On Chip
*
* This file is licensed under the terms of the GNU General Public
similarity index 97%
rename from arch/arm/mach-dove/dove-db-setup.c
rename to arch/arm/mach-orion/dove-db-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-dove/dove-db-setup.c
- *
* Marvell DB-MV88AP510-BP Development Board Setup
*
* This file is licensed under the terms of the GNU General Public
@@ -25,7 +23,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include "dove.h"
-#include "common.h"
+#include "dove-common.h"
static struct mv643xx_eth_platform_data dove_db_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR_DEFAULT,
similarity index 92%
rename from arch/arm/mach-dove/irq.c
rename to arch/arm/mach-orion/dove-irq.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-dove/irq.c
- *
* Dove IRQ handling.
*
* This file is licensed under the terms of the GNU General Public
@@ -12,12 +10,12 @@
#include <linux/io.h>
#include <asm/exception.h>
-#include <plat/irq.h>
-#include <plat/orion-gpio.h>
+#include "irq.h"
+#include "orion-gpio.h"
-#include "pm.h"
-#include "bridge-regs.h"
-#include "common.h"
+#include "dove-pm.h"
+#include "dove-bridge-regs.h"
+#include "dove-common.h"
static int __initdata gpio0_irqs[4] = {
IRQ_DOVE_GPIO_0_7,
similarity index 100%
rename from arch/arm/mach-dove/irqs.h
rename to arch/arm/mach-orion/dove-irqs.h
similarity index 97%
rename from arch/arm/mach-dove/mpp.c
rename to arch/arm/mach-orion/dove-mpp.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-dove/mpp.c
- *
* MPP functions for Marvell Dove SoCs
*
* This file is licensed under the terms of the GNU General Public
@@ -11,10 +9,10 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/io.h>
-#include <plat/mpp.h>
-#include <plat/orion-gpio.h>
-#include "dove.h"
#include "mpp.h"
+#include "orion-gpio.h"
+#include "dove.h"
+#include "dove-mpp.h"
struct dove_mpp_grp {
int start;
similarity index 100%
rename from arch/arm/mach-dove/mpp.h
rename to arch/arm/mach-orion/dove-mpp.h
similarity index 97%
rename from arch/arm/mach-dove/pcie.c
rename to arch/arm/mach-orion/dove-pcie.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-dove/pcie.c
- *
* PCIe functions for Marvell Dove 88AP510 SoC
*
* This file is licensed under the terms of the GNU General Public
@@ -16,11 +14,11 @@
#include <asm/mach/arch.h>
#include <asm/setup.h>
#include <asm/delay.h>
-#include <plat/pcie.h>
-#include <plat/addr-map.h>
-#include "irqs.h"
-#include "bridge-regs.h"
-#include "common.h"
+#include "pcie.h"
+#include "addr-map.h"
+#include "dove-irqs.h"
+#include "dove-bridge-regs.h"
+#include "dove-common.h"
struct pcie_port {
u8 index;
similarity index 99%
rename from arch/arm/mach-dove/pm.h
rename to arch/arm/mach-orion/dove-pm.h
@@ -8,7 +8,7 @@
#define __ASM_ARCH_PM_H
#include <asm/errno.h>
-#include "irqs.h"
+#include "dove-irqs.h"
#define CLOCK_GATING_CONTROL (DOVE_PMU_VIRT_BASE + 0x38)
#define CLOCK_GATING_BIT_USB0 0
similarity index 99%
rename from arch/arm/mach-dove/dove.h
rename to arch/arm/mach-orion/dove.h
@@ -9,7 +9,7 @@
#ifndef __ASM_ARCH_DOVE_H
#define __ASM_ARCH_DOVE_H
-#include "irqs.h"
+#include "dove-irqs.h"
/*
* Marvell Dove address maps.
similarity index 99%
rename from arch/arm/plat-orion/gpio.c
rename to arch/arm/mach-orion/gpio.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/gpio.c
- *
* Marvell Orion SoC GPIO handling.
*
* This file is licensed under the terms of the GNU General Public
@@ -23,7 +21,7 @@
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_address.h>
-#include <plat/orion-gpio.h>
+#include "orion-gpio.h"
/*
* GPIO unit register offsets.
similarity index 92%
rename from arch/arm/plat-orion/irq.c
rename to arch/arm/mach-orion/irq.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/irq.c
- *
* Marvell Orion SoC IRQ handling.
*
* This file is licensed under the terms of the GNU General Public
@@ -16,8 +14,8 @@
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <asm/exception.h>
-#include <plat/irq.h>
-#include <plat/orion-gpio.h>
+#include "irq.h"
+#include "orion-gpio.h"
void __init orion_irq_init(unsigned int irq_start, void __iomem *maskaddr)
{
similarity index 88%
rename from arch/arm/plat-orion/include/plat/irq.h
rename to arch/arm/mach-orion/irq.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/irq.h
- *
* Marvell Orion SoC IRQ handling.
*
* This file is licensed under the terms of the GNU General Public
similarity index 99%
rename from arch/arm/mach-orion5x/kurobox_pro-setup.c
rename to arch/arm/mach-orion/kurobox_pro-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/kurobox_pro-setup.c
- *
* Maintainer: Ronen Shitrit <rshitrit@marvell.com>
*
* This file is licensed under the terms of the GNU General Public
@@ -24,8 +22,8 @@
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include <linux/platform_data/mtd-orion_nand.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 98%
rename from arch/arm/mach-orion5x/ls_hgl-setup.c
rename to arch/arm/mach-orion/ls_hgl-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/ls_hgl-setup.c
- *
* Maintainer: Zhu Qingsen <zhuqs@cn.fujitsu.com>
*
* This file is licensed under the terms of the GNU General Public
@@ -21,8 +19,8 @@
#include <linux/gpio.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 95%
rename from arch/arm/plat-orion/mpp.c
rename to arch/arm/mach-orion/mpp.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/mpp.c
- *
* MPP functions for Marvell orion SoCs
*
* This file is licensed under the terms of the GNU General Public
@@ -13,8 +11,8 @@
#include <linux/mbus.h>
#include <linux/io.h>
#include <linux/gpio.h>
-#include <plat/orion-gpio.h>
-#include <plat/mpp.h>
+#include "orion-gpio.h"
+#include "mpp.h"
/* Address of the ith MPP control register */
static __init void __iomem *mpp_ctrl_addr(unsigned int i,
similarity index 95%
rename from arch/arm/plat-orion/include/plat/mpp.h
rename to arch/arm/mach-orion/mpp.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/mpp.h
- *
* Marvell Orion SoC MPP handling.
*
* This file is licensed under the terms of the GNU General Public
similarity index 99%
rename from arch/arm/mach-orion5x/mv2120-setup.c
rename to arch/arm/mach-orion/mv2120-setup.c
@@ -21,8 +21,8 @@
#include <linux/ata_platform.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
#define MV2120_NOR_BOOT_BASE 0xf4000000
similarity index 100%
rename from arch/arm/mach-mv78xx0/bridge-regs.h
rename to arch/arm/mach-orion/mv78xx0-bridge-regs.h
similarity index 98%
rename from arch/arm/mach-mv78xx0/common.c
rename to arch/arm/mach-orion/mv78xx0-common.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78xx0/common.c
- *
* Core functions for Marvell MV78xx0 SoCs
*
* This file is licensed under the terms of the GNU General Public
@@ -21,12 +19,12 @@
#include <asm/mach/time.h>
#include <linux/platform_data/usb-ehci-orion.h>
#include <linux/platform_data/mtd-orion_nand.h>
-#include <plat/time.h>
-#include <plat/common.h>
-#include <plat/addr-map.h>
-#include "mv78xx0.h"
-#include "bridge-regs.h"
+#include "time.h"
#include "common.h"
+#include "addr-map.h"
+#include "mv78xx0.h"
+#include "mv78xx0-bridge-regs.h"
+#include "mv78xx0-common.h"
static int get_tclk(void);
similarity index 97%
rename from arch/arm/mach-mv78xx0/common.h
rename to arch/arm/mach-orion/mv78xx0-common.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78xx0/common.h
- *
* Core functions for Marvell MV78xx0 SoCs
*
* This file is licensed under the terms of the GNU General Public
similarity index 93%
rename from arch/arm/mach-mv78xx0/irq.c
rename to arch/arm/mach-orion/mv78xx0-irq.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78xx0/irq.c
- *
* MV78xx0 IRQ handling.
*
* This file is licensed under the terms of the GNU General Public
@@ -12,10 +10,10 @@
#include <linux/irq.h>
#include <linux/io.h>
#include <asm/exception.h>
-#include <plat/orion-gpio.h>
-#include <plat/irq.h>
-#include "bridge-regs.h"
-#include "common.h"
+#include "orion-gpio.h"
+#include "irq.h"
+#include "mv78xx0-bridge-regs.h"
+#include "mv78xx0-common.h"
static int __initdata gpio0_irqs[4] = {
IRQ_MV78XX0_GPIO_0_7,
similarity index 100%
rename from arch/arm/mach-mv78xx0/irqs.h
rename to arch/arm/mach-orion/mv78xx0-irqs.h
similarity index 91%
rename from arch/arm/mach-mv78xx0/mpp.c
rename to arch/arm/mach-orion/mv78xx0-mpp.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78x00/mpp.c
- *
* MPP functions for Marvell MV78x00 SoCs
*
* This file is licensed under the terms of the GNU General Public
@@ -11,10 +9,10 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
-#include <plat/mpp.h>
-#include "mv78xx0.h"
-#include "common.h"
#include "mpp.h"
+#include "mv78xx0.h"
+#include "mv78xx0-common.h"
+#include "mv78xx0-mpp.h"
static unsigned int __init mv78xx0_variant(void)
{
similarity index 99%
rename from arch/arm/mach-mv78xx0/mpp.h
rename to arch/arm/mach-orion/mv78xx0-mpp.h
@@ -1,6 +1,5 @@
/*
- * linux/arch/arm/mach-mv78xx0/mpp.h -- Multi Purpose Pins
- *
+ * Multi Purpose Pins
*
* sebastien requiem <sebastien@requiem.fr>
*
similarity index 98%
rename from arch/arm/mach-mv78xx0/pcie.c
rename to arch/arm/mach-orion/mv78xx0-pcie.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78xx0/pcie.c
- *
* PCIe functions for Marvell MV78xx0 SoCs
*
* This file is licensed under the terms of the GNU General Public
@@ -14,9 +12,9 @@
#include <video/vga.h>
#include <asm/irq.h>
#include <asm/mach/pci.h>
-#include <plat/pcie.h>
+#include "pcie.h"
#include "mv78xx0.h"
-#include "common.h"
+#include "mv78xx0-common.h"
#define MV78XX0_MBUS_PCIE_MEM_TARGET(port, lane) ((port) ? 8 : 4)
#define MV78XX0_MBUS_PCIE_MEM_ATTR(port, lane) (0xf8 & ~(0x10 << (lane)))
similarity index 99%
rename from arch/arm/mach-mv78xx0/mv78xx0.h
rename to arch/arm/mach-orion/mv78xx0.h
@@ -10,7 +10,7 @@
#ifndef __ASM_ARCH_MV78XX0_H
#define __ASM_ARCH_MV78XX0_H
-#include "irqs.h"
+#include "mv78xx0-irqs.h"
/*
* Marvell MV78xx0 address maps.
similarity index 99%
rename from arch/arm/mach-orion5x/net2big-setup.c
rename to arch/arm/mach-orion/net2big-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/net2big-setup.c
- *
* LaCie 2Big Network NAS setup
*
* Copyright (C) 2009 Simon Guinot <sguinot@lacie.com>
@@ -24,9 +22,9 @@
#include <linux/delay.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
-#include <plat/orion-gpio.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion-gpio.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 94%
rename from arch/arm/plat-orion/include/plat/orion-gpio.h
rename to arch/arm/mach-orion/orion-gpio.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/orion-gpio.h
- *
* Marvell Orion SoC GPIO handling.
*
* This file is licensed under the terms of the GNU General Public
similarity index 100%
rename from arch/arm/mach-orion5x/bridge-regs.h
rename to arch/arm/mach-orion/orion5x-bridge-regs.h
similarity index 100%
rename from arch/arm/mach-orion5x/common.h
rename to arch/arm/mach-orion/orion5x-common.h
similarity index 89%
rename from arch/arm/mach-orion5x/irq.c
rename to arch/arm/mach-orion/orion5x-irq.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/irq.c
- *
* Core IRQ functions for Marvell Orion System On Chip
*
* Maintainer: Tzachi Perelstein <tzachi@marvell.com>
@@ -13,11 +11,11 @@
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/io.h>
-#include <plat/orion-gpio.h>
-#include <plat/irq.h>
+#include "orion-gpio.h"
+#include "irq.h"
#include <asm/exception.h>
-#include "bridge-regs.h"
-#include "common.h"
+#include "orion5x-bridge-regs.h"
+#include "orion5x-common.h"
static int __initdata gpio0_irqs[4] = {
IRQ_ORION5X_GPIO_0_7,
similarity index 100%
rename from arch/arm/mach-orion5x/irqs.h
rename to arch/arm/mach-orion/orion5x-irqs.h
similarity index 92%
rename from arch/arm/mach-orion5x/mpp.c
rename to arch/arm/mach-orion/orion5x-mpp.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/mpp.c
- *
* MPP functions for Marvell Orion 5x SoCs
*
* This file is licensed under the terms of the GNU General Public
@@ -11,10 +9,10 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
-#include <plat/mpp.h>
-#include "orion5x.h"
#include "mpp.h"
-#include "common.h"
+#include "orion5x.h"
+#include "orion5x-mpp.h"
+#include "orion5x-common.h"
static unsigned int __init orion5x_variant(void)
{
similarity index 100%
rename from arch/arm/mach-orion5x/mpp.h
rename to arch/arm/mach-orion/orion5x-mpp.h
similarity index 99%
rename from arch/arm/mach-orion5x/pci.c
rename to arch/arm/mach-orion/orion5x-pci.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/pci.c
- *
* PCI and PCIe functions for Marvell Orion System On Chip
*
* Maintainer: Tzachi Perelstein <tzachi@marvell.com>
@@ -17,9 +15,9 @@
#include <video/vga.h>
#include <asm/irq.h>
#include <asm/mach/pci.h>
-#include <plat/pcie.h>
-#include <plat/addr-map.h>
-#include "common.h"
+#include "pcie.h"
+#include "addr-map.h"
+#include "orion5x-common.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 99%
rename from arch/arm/mach-orion5x/common.c
rename to arch/arm/mach-orion/orion5x.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/common.c
- *
* Core functions for Marvell Orion 5x SoCs
*
* Maintainer: Tzachi Perelstein <tzachi@marvell.com>
@@ -30,11 +28,11 @@
#include <asm/mach/time.h>
#include <linux/platform_data/mtd-orion_nand.h>
#include <linux/platform_data/usb-ehci-orion.h>
-#include <plat/time.h>
-#include <plat/common.h>
-
-#include "bridge-regs.h"
+#include "time.h"
#include "common.h"
+
+#include "orion5x-bridge-regs.h"
+#include "orion5x-common.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 99%
rename from arch/arm/mach-orion5x/orion5x.h
rename to arch/arm/mach-orion/orion5x.h
@@ -12,7 +12,7 @@
#ifndef __ASM_ARCH_ORION5X_H
#define __ASM_ARCH_ORION5X_H
-#include "irqs.h"
+#include "orion5x-irqs.h"
/*****************************************************************************
* Orion Address Maps
similarity index 98%
rename from arch/arm/plat-orion/pcie.c
rename to arch/arm/mach-orion/pcie.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/pcie.c
- *
* Marvell Orion SoC PCIe handling.
*
* This file is licensed under the terms of the GNU General Public
@@ -12,8 +10,8 @@
#include <linux/pci.h>
#include <linux/mbus.h>
#include <asm/mach/pci.h>
-#include <plat/pcie.h>
-#include <plat/addr-map.h>
+#include "pcie.h"
+#include "addr-map.h"
#include <linux/delay.h>
/*
similarity index 96%
rename from arch/arm/plat-orion/include/plat/pcie.h
rename to arch/arm/mach-orion/pcie.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/pcie.h
- *
* Marvell Orion SoC PCIe handling.
*
* This file is licensed under the terms of the GNU General Public
similarity index 96%
rename from arch/arm/mach-mv78xx0/rd78x00-masa-setup.c
rename to arch/arm/mach-orion/rd78x00-masa-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-mv78x00/rd78x00-masa-setup.c
- *
* Marvell RD-78x00-mASA Development Board Setup
*
* This file is licensed under the terms of the GNU General Public
@@ -17,7 +15,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include "mv78xx0.h"
-#include "common.h"
+#include "mv78xx0-common.h"
static struct mv643xx_eth_platform_data rd78x00_masa_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(8),
similarity index 98%
rename from arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c
rename to arch/arm/mach-orion/rd88f5181l-fxo-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c
- *
* Marvell Orion-VoIP FXO Reference Design Setup
*
* This file is licensed under the terms of the GNU General Public
@@ -20,8 +18,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 98%
rename from arch/arm/mach-orion5x/rd88f5181l-ge-setup.c
rename to arch/arm/mach-orion/rd88f5181l-ge-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/rd88f5181l-ge-setup.c
- *
* Marvell Orion-VoIP GE Reference Design Setup
*
* This file is licensed under the terms of the GNU General Public
@@ -21,8 +19,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 98%
rename from arch/arm/mach-orion5x/rd88f5182-setup.c
rename to arch/arm/mach-orion/rd88f5182-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/rd88f5182-setup.c
- *
* Marvell Orion-NAS Reference Design Setup
*
* Maintainer: Ronen Shitrit <rshitrit@marvell.com>
@@ -23,8 +21,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 97%
rename from arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
rename to arch/arm/mach-orion/rd88f6183ap-ge-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/rd88f6183-ap-ge-setup.c
- *
* Marvell Orion-1-90 AP GE Reference Design Setup
*
* This file is licensed under the terms of the GNU General Public
@@ -22,7 +20,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
+#include "orion5x-common.h"
#include "orion5x.h"
static struct mv643xx_eth_platform_data rd88f6183ap_ge_eth_data = {
similarity index 99%
rename from arch/arm/mach-orion5x/terastation_pro2-setup.c
rename to arch/arm/mach-orion/terastation_pro2-setup.c
@@ -18,8 +18,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
/*****************************************************************************
similarity index 99%
rename from arch/arm/plat-orion/time.c
rename to arch/arm/mach-orion/time.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/time.c
- *
* Marvell Orion SoC timer handling.
*
* This file is licensed under the terms of the GNU General Public
@@ -17,7 +15,7 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/sched_clock.h>
-#include <plat/time.h>
+#include "time.h"
#include <asm/delay.h>
/*
similarity index 90%
rename from arch/arm/plat-orion/include/plat/time.h
rename to arch/arm/mach-orion/time.h
@@ -1,6 +1,4 @@
/*
- * arch/arm/plat-orion/include/plat/time.h
- *
* Marvell Orion SoC time handling.
*
* This file is licensed under the terms of the GNU General Public
similarity index 99%
rename from arch/arm/mach-orion5x/ts209-setup.c
rename to arch/arm/mach-orion/ts209-setup.c
@@ -21,8 +21,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
#include "tsx09-common.h"
similarity index 99%
rename from arch/arm/mach-orion5x/ts409-setup.c
rename to arch/arm/mach-orion/ts409-setup.c
@@ -23,8 +23,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
#include "tsx09-common.h"
similarity index 100%
rename from arch/arm/mach-orion5x/ts78xx-fpga.h
rename to arch/arm/mach-orion/ts78xx-fpga.h
similarity index 99%
rename from arch/arm/mach-orion5x/ts78xx-setup.c
rename to arch/arm/mach-orion/ts78xx-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/ts78xx-setup.c
- *
* Maintainer: Alexander Clouter <alex@digriz.org.uk>
*
* This file is licensed under the terms of the GNU General Public
@@ -21,8 +19,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
#include "orion5x.h"
#include "ts78xx-fpga.h"
similarity index 97%
rename from arch/arm/mach-orion5x/tsx09-common.c
rename to arch/arm/mach-orion/tsx09-common.c
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * QNAP TS-x09 Boards common functions
- *
* Maintainers: Lennert Buytenhek <buytenh@marvell.com>
* Byron Bradley <byron.bbradley@gmail.com>
*/
@@ -13,7 +11,7 @@
#include <linux/serial_reg.h>
#include "orion5x.h"
#include "tsx09-common.h"
-#include "common.h"
+#include "orion5x-common.h"
/*****************************************************************************
* QNAP TS-x09 specific power off method via UART1-attached PIC
similarity index 100%
rename from arch/arm/mach-orion5x/tsx09-common.h
rename to arch/arm/mach-orion/tsx09-common.h
similarity index 98%
rename from arch/arm/mach-orion5x/wnr854t-setup.c
rename to arch/arm/mach-orion/wnr854t-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/wnr854t-setup.c
- *
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
@@ -20,8 +18,8 @@
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include "orion5x.h"
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
static unsigned int wnr854t_mpp_modes[] __initdata = {
MPP0_GPIO, /* Power LED green (0=on) */
similarity index 98%
rename from arch/arm/mach-orion5x/wrt350n-v2-setup.c
rename to arch/arm/mach-orion/wrt350n-v2-setup.c
@@ -1,6 +1,4 @@
/*
- * arch/arm/mach-orion5x/wrt350n-v2-setup.c
- *
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
@@ -23,8 +21,8 @@
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include "orion5x.h"
-#include "common.h"
-#include "mpp.h"
+#include "orion5x-common.h"
+#include "orion5x-mpp.h"
/*
* LEDs attached to GPIO
There are very vew contents left in mv78xx0, dove and the plat-orion directory, but having the files spread over four places increases the complexity and requires having shared header files. Move everything to one directory, adapting the file names where necessary, but not much else. Additional cleanups that are enabled by this can come later. Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Cc: Gregory Clement <gregory.clement@bootlin.com> Cc: Alexander Clouter <alex@digriz.org.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- MAINTAINERS | 7 ++----- arch/arm/Kconfig | 17 +---------------- arch/arm/Makefile | 5 +---- arch/arm/mach-dove/Makefile | 8 -------- arch/arm/mach-orion/Kconfig | 14 ++++++++++++++ .../Kconfig => mach-orion/Kconfig.dove} | 0 .../Kconfig => mach-orion/Kconfig.mv78xx0} | 0 .../Kconfig => mach-orion/Kconfig.orion5x} | 0 arch/arm/{plat-orion => mach-orion}/Makefile | 12 ++++++++++++ .../arm/{mach-dove => mach-orion}/Makefile.boot | 0 arch/arm/mach-orion/Makefile.dove | 6 ++++++ .../Makefile => mach-orion/Makefile.mv78xx0} | 4 +--- .../Makefile => mach-orion/Makefile.orion5x} | 4 +--- .../include/plat => mach-orion}/addr-map.h | 2 -- .../{mach-orion5x => mach-orion}/board-d2net.c | 6 ++---- .../arm/{mach-orion5x => mach-orion}/board-dt.c | 10 ++++------ .../{mach-orion5x => mach-orion}/board-mss2.c | 4 ++-- .../board-rd88f5182.c | 4 +--- .../buffalo-wxl-setup.c | 6 ++---- arch/arm/{mach-dove => mach-orion}/cm-a510.c | 4 +--- arch/arm/{plat-orion => mach-orion}/common.c | 4 +--- .../include/plat => mach-orion}/common.h | 2 -- .../db78x00-bp-setup.c | 4 +--- .../db88f5281-setup.c | 6 ++---- .../{mach-orion5x => mach-orion}/dns323-setup.c | 8 +++----- .../dove-bridge-regs.h} | 0 .../common.c => mach-orion/dove-common.c} | 13 +++++-------- .../common.h => mach-orion/dove-common.h} | 2 -- .../{mach-dove => mach-orion}/dove-db-setup.c | 4 +--- .../{mach-dove/irq.c => mach-orion/dove-irq.c} | 12 +++++------- .../irqs.h => mach-orion/dove-irqs.h} | 0 .../{mach-dove/mpp.c => mach-orion/dove-mpp.c} | 8 +++----- .../{mach-dove/mpp.h => mach-orion/dove-mpp.h} | 0 .../pcie.c => mach-orion/dove-pcie.c} | 12 +++++------- .../{mach-dove/pm.h => mach-orion/dove-pm.h} | 2 +- arch/arm/{mach-dove => mach-orion}/dove.h | 2 +- arch/arm/{plat-orion => mach-orion}/gpio.c | 4 +--- arch/arm/{plat-orion => mach-orion}/irq.c | 6 ++---- .../include/plat => mach-orion}/irq.h | 2 -- .../kurobox_pro-setup.c | 6 ++---- .../{mach-orion5x => mach-orion}/ls_hgl-setup.c | 6 ++---- arch/arm/{plat-orion => mach-orion}/mpp.c | 6 ++---- .../include/plat => mach-orion}/mpp.h | 2 -- .../{mach-orion5x => mach-orion}/mv2120-setup.c | 4 ++-- .../mv78xx0-bridge-regs.h} | 0 .../common.c => mach-orion/mv78xx0-common.c} | 12 +++++------- .../common.h => mach-orion/mv78xx0-common.h} | 2 -- .../irq.c => mach-orion/mv78xx0-irq.c} | 10 ++++------ .../irqs.h => mach-orion/mv78xx0-irqs.h} | 0 .../mpp.c => mach-orion/mv78xx0-mpp.c} | 8 +++----- .../mpp.h => mach-orion/mv78xx0-mpp.h} | 3 +-- .../pcie.c => mach-orion/mv78xx0-pcie.c} | 6 ++---- arch/arm/{mach-mv78xx0 => mach-orion}/mv78xx0.h | 2 +- .../net2big-setup.c | 8 +++----- .../include/plat => mach-orion}/orion-gpio.h | 2 -- .../orion5x-bridge-regs.h} | 0 .../common.h => mach-orion/orion5x-common.h} | 0 .../irq.c => mach-orion/orion5x-irq.c} | 10 ++++------ .../irqs.h => mach-orion/orion5x-irqs.h} | 0 .../mpp.c => mach-orion/orion5x-mpp.c} | 8 +++----- .../mpp.h => mach-orion/orion5x-mpp.h} | 0 .../pci.c => mach-orion/orion5x-pci.c} | 8 +++----- .../common.c => mach-orion/orion5x.c} | 10 ++++------ arch/arm/{mach-orion5x => mach-orion}/orion5x.h | 2 +- arch/arm/{plat-orion => mach-orion}/pcie.c | 6 ++---- .../include/plat => mach-orion}/pcie.h | 2 -- .../rd78x00-masa-setup.c | 4 +--- .../rd88f5181l-fxo-setup.c | 6 ++---- .../rd88f5181l-ge-setup.c | 6 ++---- .../rd88f5182-setup.c | 6 ++---- .../rd88f6183ap-ge-setup.c | 4 +--- .../terastation_pro2-setup.c | 4 ++-- arch/arm/{plat-orion => mach-orion}/time.c | 4 +--- .../include/plat => mach-orion}/time.h | 2 -- .../{mach-orion5x => mach-orion}/ts209-setup.c | 4 ++-- .../{mach-orion5x => mach-orion}/ts409-setup.c | 4 ++-- .../{mach-orion5x => mach-orion}/ts78xx-fpga.h | 0 .../{mach-orion5x => mach-orion}/ts78xx-setup.c | 6 ++---- .../{mach-orion5x => mach-orion}/tsx09-common.c | 4 +--- .../{mach-orion5x => mach-orion}/tsx09-common.h | 0 .../wnr854t-setup.c | 6 ++---- .../wrt350n-v2-setup.c | 6 ++---- 82 files changed, 147 insertions(+), 246 deletions(-) delete mode 100644 arch/arm/mach-dove/Makefile create mode 100644 arch/arm/mach-orion/Kconfig rename arch/arm/{mach-dove/Kconfig => mach-orion/Kconfig.dove} (100%) rename arch/arm/{mach-mv78xx0/Kconfig => mach-orion/Kconfig.mv78xx0} (100%) rename arch/arm/{mach-orion5x/Kconfig => mach-orion/Kconfig.orion5x} (100%) rename arch/arm/{plat-orion => mach-orion}/Makefile (62%) rename arch/arm/{mach-dove => mach-orion}/Makefile.boot (100%) create mode 100644 arch/arm/mach-orion/Makefile.dove rename arch/arm/{mach-mv78xx0/Makefile => mach-orion/Makefile.mv78xx0} (62%) rename arch/arm/{mach-orion5x/Makefile => mach-orion/Makefile.orion5x} (90%) rename arch/arm/{plat-orion/include/plat => mach-orion}/addr-map.h (96%) rename arch/arm/{mach-orion5x => mach-orion}/board-d2net.c (97%) rename arch/arm/{mach-orion5x => mach-orion}/board-dt.c (94%) rename arch/arm/{mach-orion5x => mach-orion}/board-mss2.c (97%) rename arch/arm/{mach-orion5x => mach-orion}/board-rd88f5182.c (97%) rename arch/arm/{mach-mv78xx0 => mach-orion}/buffalo-wxl-setup.c (97%) rename arch/arm/{mach-dove => mach-orion}/cm-a510.c (97%) rename arch/arm/{plat-orion => mach-orion}/common.c (99%) rename arch/arm/{plat-orion/include/plat => mach-orion}/common.h (98%) rename arch/arm/{mach-mv78xx0 => mach-orion}/db78x00-bp-setup.c (97%) rename arch/arm/{mach-orion5x => mach-orion}/db88f5281-setup.c (99%) rename arch/arm/{mach-orion5x => mach-orion}/dns323-setup.c (99%) rename arch/arm/{mach-dove/bridge-regs.h => mach-orion/dove-bridge-regs.h} (100%) rename arch/arm/{mach-dove/common.c => mach-orion/dove-common.c} (98%) rename arch/arm/{mach-dove/common.h => mach-orion/dove-common.h} (97%) rename arch/arm/{mach-dove => mach-orion}/dove-db-setup.c (97%) rename arch/arm/{mach-dove/irq.c => mach-orion/dove-irq.c} (92%) rename arch/arm/{mach-dove/irqs.h => mach-orion/dove-irqs.h} (100%) rename arch/arm/{mach-dove/mpp.c => mach-orion/dove-mpp.c} (97%) rename arch/arm/{mach-dove/mpp.h => mach-orion/dove-mpp.h} (100%) rename arch/arm/{mach-dove/pcie.c => mach-orion/dove-pcie.c} (97%) rename arch/arm/{mach-dove/pm.h => mach-orion/dove-pm.h} (99%) rename arch/arm/{mach-dove => mach-orion}/dove.h (99%) rename arch/arm/{plat-orion => mach-orion}/gpio.c (99%) rename arch/arm/{plat-orion => mach-orion}/irq.c (92%) rename arch/arm/{plat-orion/include/plat => mach-orion}/irq.h (88%) rename arch/arm/{mach-orion5x => mach-orion}/kurobox_pro-setup.c (99%) rename arch/arm/{mach-orion5x => mach-orion}/ls_hgl-setup.c (98%) rename arch/arm/{plat-orion => mach-orion}/mpp.c (95%) rename arch/arm/{plat-orion/include/plat => mach-orion}/mpp.h (95%) rename arch/arm/{mach-orion5x => mach-orion}/mv2120-setup.c (99%) rename arch/arm/{mach-mv78xx0/bridge-regs.h => mach-orion/mv78xx0-bridge-regs.h} (100%) rename arch/arm/{mach-mv78xx0/common.c => mach-orion/mv78xx0-common.c} (98%) rename arch/arm/{mach-mv78xx0/common.h => mach-orion/mv78xx0-common.h} (97%) rename arch/arm/{mach-mv78xx0/irq.c => mach-orion/mv78xx0-irq.c} (93%) rename arch/arm/{mach-mv78xx0/irqs.h => mach-orion/mv78xx0-irqs.h} (100%) rename arch/arm/{mach-mv78xx0/mpp.c => mach-orion/mv78xx0-mpp.c} (91%) rename arch/arm/{mach-mv78xx0/mpp.h => mach-orion/mv78xx0-mpp.h} (99%) rename arch/arm/{mach-mv78xx0/pcie.c => mach-orion/mv78xx0-pcie.c} (98%) rename arch/arm/{mach-mv78xx0 => mach-orion}/mv78xx0.h (99%) rename arch/arm/{mach-orion5x => mach-orion}/net2big-setup.c (99%) rename arch/arm/{plat-orion/include/plat => mach-orion}/orion-gpio.h (94%) rename arch/arm/{mach-orion5x/bridge-regs.h => mach-orion/orion5x-bridge-regs.h} (100%) rename arch/arm/{mach-orion5x/common.h => mach-orion/orion5x-common.h} (100%) rename arch/arm/{mach-orion5x/irq.c => mach-orion/orion5x-irq.c} (89%) rename arch/arm/{mach-orion5x/irqs.h => mach-orion/orion5x-irqs.h} (100%) rename arch/arm/{mach-orion5x/mpp.c => mach-orion/orion5x-mpp.c} (92%) rename arch/arm/{mach-orion5x/mpp.h => mach-orion/orion5x-mpp.h} (100%) rename arch/arm/{mach-orion5x/pci.c => mach-orion/orion5x-pci.c} (99%) rename arch/arm/{mach-orion5x/common.c => mach-orion/orion5x.c} (99%) rename arch/arm/{mach-orion5x => mach-orion}/orion5x.h (99%) rename arch/arm/{plat-orion => mach-orion}/pcie.c (98%) rename arch/arm/{plat-orion/include/plat => mach-orion}/pcie.h (96%) rename arch/arm/{mach-mv78xx0 => mach-orion}/rd78x00-masa-setup.c (96%) rename arch/arm/{mach-orion5x => mach-orion}/rd88f5181l-fxo-setup.c (98%) rename arch/arm/{mach-orion5x => mach-orion}/rd88f5181l-ge-setup.c (98%) rename arch/arm/{mach-orion5x => mach-orion}/rd88f5182-setup.c (98%) rename arch/arm/{mach-orion5x => mach-orion}/rd88f6183ap-ge-setup.c (97%) rename arch/arm/{mach-orion5x => mach-orion}/terastation_pro2-setup.c (99%) rename arch/arm/{plat-orion => mach-orion}/time.c (99%) rename arch/arm/{plat-orion/include/plat => mach-orion}/time.h (90%) rename arch/arm/{mach-orion5x => mach-orion}/ts209-setup.c (99%) rename arch/arm/{mach-orion5x => mach-orion}/ts409-setup.c (99%) rename arch/arm/{mach-orion5x => mach-orion}/ts78xx-fpga.h (100%) rename arch/arm/{mach-orion5x => mach-orion}/ts78xx-setup.c (99%) rename arch/arm/{mach-orion5x => mach-orion}/tsx09-common.c (97%) rename arch/arm/{mach-orion5x => mach-orion}/tsx09-common.h (100%) rename arch/arm/{mach-orion5x => mach-orion}/wnr854t-setup.c (98%) rename arch/arm/{mach-orion5x => mach-orion}/wrt350n-v2-setup.c (98%) -- 2.20.0