From c24cf712ac53ae8a7bedceb1c967da1667431d8e Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 7 Apr 2014 13:05:00 +0200 Subject: [PATCH] microblaze: Remove platform folder There is no reason to use platform folder structure now. Everything is OF driven. Signed-off-by: Michal Simek --- arch/microblaze/Kconfig | 2 +- arch/microblaze/{platform => }/Kconfig.platform | 0 arch/microblaze/Makefile | 1 - arch/microblaze/kernel/Makefile | 2 +- arch/microblaze/{platform => kernel}/platform.c | 0 arch/microblaze/platform/Makefile | 5 ----- 6 files changed, 2 insertions(+), 8 deletions(-) rename arch/microblaze/{platform => }/Kconfig.platform (100%) rename arch/microblaze/{platform => kernel}/platform.c (100%) delete mode 100644 arch/microblaze/platform/Makefile diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index dc51ec80cf1a..9ae08541e30d 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -74,7 +74,7 @@ source "init/Kconfig" source "kernel/Kconfig.freezer" -source "arch/microblaze/platform/Kconfig.platform" +source "arch/microblaze/Kconfig.platform" menu "Processor type and features" diff --git a/arch/microblaze/platform/Kconfig.platform b/arch/microblaze/Kconfig.platform similarity index 100% rename from arch/microblaze/platform/Kconfig.platform rename to arch/microblaze/Kconfig.platform diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index a69eaf2ab130..740f2b82a182 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -48,7 +48,6 @@ head-y := arch/microblaze/kernel/head.o libs-y += arch/microblaze/lib/ core-y += arch/microblaze/kernel/ core-y += arch/microblaze/mm/ -core-y += arch/microblaze/platform/ core-$(CONFIG_PCI) += arch/microblaze/pci/ drivers-$(CONFIG_OPROFILE) += arch/microblaze/oprofile/ diff --git a/arch/microblaze/kernel/Makefile b/arch/microblaze/kernel/Makefile index 5b0e512c78e5..08d50cc55e7d 100644 --- a/arch/microblaze/kernel/Makefile +++ b/arch/microblaze/kernel/Makefile @@ -16,7 +16,7 @@ extra-y := head.o vmlinux.lds obj-y += dma.o exceptions.o \ hw_exception_handler.o intc.o irq.o \ - process.o prom.o prom_parse.o ptrace.o \ + platform.o process.o prom.o prom_parse.o ptrace.o \ reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o obj-y += cpu/ diff --git a/arch/microblaze/platform/platform.c b/arch/microblaze/kernel/platform.c similarity index 100% rename from arch/microblaze/platform/platform.c rename to arch/microblaze/kernel/platform.c diff --git a/arch/microblaze/platform/Makefile b/arch/microblaze/platform/Makefile deleted file mode 100644 index 5bcb631b80b6..000000000000 --- a/arch/microblaze/platform/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# -# Makefile for arch/microblaze/platform directory -# - -obj-y += platform.o