mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: linux-arm-kernel@lists.infradead.org
Cc: "Russell King" <linux+etnaviv@arm.linux.org.uk>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Olof Johansson" <olof@lixom.net>,
	"Rob Herring" <robh@kernel.org>,
	"Masahiro Yamada" <yamada.masahiro@socionext.com>,
	"Emilio López" <emilio@elopez.com.ar>,
	"Mark Brown" <broonie@kernel.org>,
	linux-kernel@vger.kernel.org,
	"Russell King" <linux@arm.linux.org.uk>,
	"Marcus Cooper" <codekipper@gmail.com>,
	"Maxime Ripard" <maxime.ripard@free-electrons.com>
Subject: [RFC PATCH 3/9] ARM: zynq: move mach-zynq/ to platforms/zynq/
Date: Sun,  3 Apr 2016 23:39:21 +0900	[thread overview]
Message-ID: <1459694367-18635-4-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1459694367-18635-1-git-send-email-yamada.masahiro@socionext.com>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/Kconfig                                 | 2 --
 arch/arm/Makefile                                | 1 -
 arch/arm/platforms/Kconfig                       | 1 +
 arch/arm/platforms/Makefile                      | 1 +
 arch/arm/{mach-zynq => platforms/zynq}/Kconfig   | 0
 arch/arm/{mach-zynq => platforms/zynq}/Makefile  | 0
 arch/arm/{mach-zynq => platforms/zynq}/common.c  | 0
 arch/arm/{mach-zynq => platforms/zynq}/common.h  | 0
 arch/arm/{mach-zynq => platforms/zynq}/headsmp.S | 0
 arch/arm/{mach-zynq => platforms/zynq}/platsmp.c | 0
 arch/arm/{mach-zynq => platforms/zynq}/pm.c      | 0
 arch/arm/{mach-zynq => platforms/zynq}/slcr.c    | 0
 12 files changed, 2 insertions(+), 3 deletions(-)
 rename arch/arm/{mach-zynq => platforms/zynq}/Kconfig (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/Makefile (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/common.c (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/common.h (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/headsmp.S (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/platsmp.c (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/pm.c (100%)
 rename arch/arm/{mach-zynq => platforms/zynq}/slcr.c (100%)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f1cfb16..394c899 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -854,8 +854,6 @@ source "arch/arm/mach-w90x900/Kconfig"
 
 source "arch/arm/mach-zx/Kconfig"
 
-source "arch/arm/mach-zynq/Kconfig"
-
 # ARMv7-M architecture
 config ARCH_EFM32
 	bool "Energy Micro efm32"
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 16b3eff..884114e 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -220,7 +220,6 @@ machine-$(CONFIG_ARCH_VEXPRESS)		+= vexpress
 machine-$(CONFIG_ARCH_VT8500)		+= vt8500
 machine-$(CONFIG_ARCH_W90X900)		+= w90x900
 machine-$(CONFIG_ARCH_ZX)		+= zx
-machine-$(CONFIG_ARCH_ZYNQ)		+= zynq
 machine-$(CONFIG_PLAT_SPEAR)		+= spear
 
 # Platform directory name.  This list is sorted alphanumerically
diff --git a/arch/arm/platforms/Kconfig b/arch/arm/platforms/Kconfig
index 5bf796f..be9e2ee 100644
--- a/arch/arm/platforms/Kconfig
+++ b/arch/arm/platforms/Kconfig
@@ -1,3 +1,4 @@
 # This is sorted alphabetically by directory pathname.
 
 source "arch/arm/platforms/uniphier/Kconfig"
+source "arch/arm/platforms/zynq/Kconfig"
diff --git a/arch/arm/platforms/Makefile b/arch/arm/platforms/Makefile
index 99090e8..68b0127 100644
--- a/arch/arm/platforms/Makefile
+++ b/arch/arm/platforms/Makefile
@@ -1,3 +1,4 @@
 # This list sorted alphanumerically by CONFIG_* macro name.
 
 obj-$(CONFIG_ARCH_UNIPHIER)		+= uniphier/
+obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/platforms/zynq/Kconfig
similarity index 100%
rename from arch/arm/mach-zynq/Kconfig
rename to arch/arm/platforms/zynq/Kconfig
diff --git a/arch/arm/mach-zynq/Makefile b/arch/arm/platforms/zynq/Makefile
similarity index 100%
rename from arch/arm/mach-zynq/Makefile
rename to arch/arm/platforms/zynq/Makefile
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/platforms/zynq/common.c
similarity index 100%
rename from arch/arm/mach-zynq/common.c
rename to arch/arm/platforms/zynq/common.c
diff --git a/arch/arm/mach-zynq/common.h b/arch/arm/platforms/zynq/common.h
similarity index 100%
rename from arch/arm/mach-zynq/common.h
rename to arch/arm/platforms/zynq/common.h
diff --git a/arch/arm/mach-zynq/headsmp.S b/arch/arm/platforms/zynq/headsmp.S
similarity index 100%
rename from arch/arm/mach-zynq/headsmp.S
rename to arch/arm/platforms/zynq/headsmp.S
diff --git a/arch/arm/mach-zynq/platsmp.c b/arch/arm/platforms/zynq/platsmp.c
similarity index 100%
rename from arch/arm/mach-zynq/platsmp.c
rename to arch/arm/platforms/zynq/platsmp.c
diff --git a/arch/arm/mach-zynq/pm.c b/arch/arm/platforms/zynq/pm.c
similarity index 100%
rename from arch/arm/mach-zynq/pm.c
rename to arch/arm/platforms/zynq/pm.c
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/platforms/zynq/slcr.c
similarity index 100%
rename from arch/arm/mach-zynq/slcr.c
rename to arch/arm/platforms/zynq/slcr.c
-- 
1.9.1

  parent reply	other threads:[~2016-04-03 14:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03 14:39 [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/* Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 1/9] ARM: prepare arch/arm/platforms for immigration Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 2/9] ARM: uniphier: move mach-uniphier/ to platforms/uniphier/ Masahiro Yamada
2016-04-03 14:39 ` Masahiro Yamada [this message]
2016-04-03 14:39 ` [RFC PATCH 4/9] ARM: sunxi: move mach-sunxi/ to platforms/sunxi/ Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 5/9] ARM: socfpga: move mach-socfpga/ to platforms/socfpga/ Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 6/9] ARM: rockchip: move mach-rockchip/ to platforms/rockchip/ Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 7/9] ARM: mediatek: move mach-mediatek/ to platforms/mediatek/ Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 8/9] ARM: highbank: move mach-highbank/ to platforms/highbank/ Masahiro Yamada
2016-04-03 14:39 ` [RFC PATCH 9/9] ARM: bcm: move mach-bcm/ to platforms/bcm/ Masahiro Yamada
2016-04-03 18:25 ` [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/* Russell King - ARM Linux
2016-04-04  1:53   ` Florian Fainelli
2016-04-04  1:57   ` Masahiro Yamada
2016-04-04 19:02   ` Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459694367-18635-4-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=codekipper@gmail.com \
    --cc=emilio@elopez.com.ar \
    --cc=linux+etnaviv@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=maxime.ripard@free-electrons.com \
    --cc=olof@lixom.net \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®