Skip to content
Snippets Groups Projects
Commit e0557c0d authored by Shawn Guo's avatar Shawn Guo
Browse files

ARM: imx: move platform device code into mach-imx


It moves platform device code from plat-mxc into mach-imx.  Along with
that, header devices-common.h gets moved from plat-mxc/include/mach/
into mach-imx/devices/.

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c45b1342
No related merge requests found
......@@ -7,7 +7,7 @@
* Free Software Foundation.
*/
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include "devices-common.h"
#define imx_mxc_w1_data_entry_single(soc) \
{ \
......
......@@ -4,7 +4,7 @@
* Free Software Foundation.
*/
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include "devices-common.h"
#define imx_pata_imx_data_entry_single(soc, _size) \
{ \
......
......@@ -7,8 +7,8 @@
*/
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include <linux/platform_data/mmc-esdhc-imx.h>
#include "devices-common.h"
#define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid) \
{ \
......
......@@ -7,7 +7,7 @@
* Free Software Foundation.
*/
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include "devices-common.h"
#define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \
{ \
......
......@@ -23,10 +23,10 @@
#include <linux/pinctrl/machine.h>
#include <mach/hardware.h>
#include <mach/common.h>
#include <mach/devices-common.h>
#include <asm/pgtable.h>
#include <asm/mach/map.h>
#include "devices/devices-common.h"
#include "iomux-v1.h"
/* MX21 memory map definition */
......
......@@ -25,10 +25,10 @@
#include <asm/mach/map.h>
#include <mach/common.h>
#include <mach/devices-common.h>
#include <mach/hardware.h>
#include <mach/mx25.h>
#include "devices/devices-common.h"
#include "iomux-v3.h"
/*
......
......@@ -23,10 +23,10 @@
#include <linux/pinctrl/machine.h>
#include <mach/hardware.h>
#include <mach/common.h>
#include <mach/devices-common.h>
#include <asm/pgtable.h>
#include <asm/mach/map.h>
#include "devices/devices-common.h"
#include "iomux-v1.h"
/* MX27 memory map definition */
......
......@@ -27,10 +27,10 @@
#include <asm/mach/map.h>
#include <mach/common.h>
#include <mach/devices-common.h>
#include <mach/hardware.h>
#include "crmregs-imx3.h"
#include "devices/devices-common.h"
#include "iomux-v3.h"
void __iomem *mx3_ccm_base;
......
......@@ -20,8 +20,8 @@
#include <mach/hardware.h>
#include <mach/common.h>
#include <mach/devices-common.h>
#include "devices/devices-common.h"
#include "iomux-v3.h"
/*
......
......@@ -11,8 +11,8 @@
#include <linux/io.h>
#include <mach/common.h>
#include <mach/hardware.h>
#include <mach/devices-common.h>
#include "crmregs-imx3.h"
#include "devices/devices-common.h"
/*
* Set cpu low power mode before WFI instruction. This function is called
......
if ARCH_MXC
source "arch/arm/plat-mxc/devices/Kconfig"
menu "Freescale MXC Implementations"
choice
......
......@@ -3,7 +3,7 @@
#
# Common support
obj-y := time.o devices.o cpu.o system.o irq-common.o
obj-y := time.o cpu.o system.o irq-common.o
obj-$(CONFIG_MXC_TZIC) += tzic.o
obj-$(CONFIG_MXC_AVIC) += avic.o
......@@ -18,5 +18,3 @@ ifdef CONFIG_SND_IMX_SOC
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif
obj-y += devices/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment