This enables support for Freescale i.MX6 Quad processor.
endif
+
+source "arch/arm/mach-imx/devices/Kconfig"
obj-$(CONFIG_MACH_IMX51_DT) += imx51-dt.o
obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
+
+obj-y += devices/
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_imx_fb_data imx1_imx_fb_data;
#define imx1_add_imx_fb(pdata) \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data;
#define imx21_add_imx21_hcd(pdata) \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_fec_data imx25_fec_data;
#define imx25_add_fec(pdata) \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_fec_data imx27_fec_data;
#define imx27_add_fec(pdata) \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_fsl_usb2_udc_data imx31_fsl_usb2_udc_data;
#define imx31_add_fsl_usb2_udc(pdata) \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_fec_data imx35_fec_data;
#define imx35_add_fec(pdata) \
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[];
#define imx50_add_imx_uart(id, pdata) \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
extern const struct imx_fec_data imx51_fec_data;
#define imx51_add_fec(pdata) \
+obj-y := devices.o
+
obj-$(CONFIG_IMX_HAVE_PLATFORM_FEC) += platform-fec.o
obj-$(CONFIG_IMX_HAVE_PLATFORM_FLEXCAN) += platform-flexcan.o
obj-$(CONFIG_IMX_HAVE_PLATFORM_FSL_USB2_UDC) += platform-fsl-usb2-udc.o
#include <linux/dma-mapping.h>
#include <asm/sizes.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_ahci_imx_data_entry_single(soc, _devid) \
{ \
#include <linux/dma-mapping.h>
#include <asm/sizes.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_fec_data_entry_single(soc, _devid) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_flexcan_data_entry_single(soc, _id, _hwid, _size) \
{ \
*/
#include <linux/dma-mapping.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_fsl_usb2_udc_data_entry_single(soc) \
{ \
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices-common.h"
struct platform_device *__init mxc_register_gpio(char *name, int id,
resource_size_t iobase, resource_size_t iosize, int irq, int irq_high)
*/
#include <asm/sizes.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
struct platform_device *__init imx_add_gpio_keys(
const struct gpio_keys_platform_data *pdata)
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
-#include <mach/devices-common.h>
+#include "devices-common.h"
struct platform_device __init __maybe_unused *imx_add_imx_dma(void)
{
*/
#include <linux/dma-mapping.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx_fb_data_entry_single(soc, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx_i2c_data_entry_single(soc, _id, _hwid, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx_keypad_data_entry_single(soc, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx_ssi_data_entry(soc, _id, _hwid, _size) \
[_id] = { \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx_uart_3irq_data_entry(soc, _id, _hwid, _size) \
[_id] = { \
*/
#include <asm/sizes.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx21_hcd_data_entry_single(soc) \
{ \
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#ifdef CONFIG_SOC_IMX27
const struct imx_imx27_coda_data imx27_coda_data __initconst = {
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imx_udc_data_entry_single(soc, _size) \
{ \
*/
#include <asm/sizes.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_imxdi_rtc_data_entry_single(soc) \
{ \
*/
#include <linux/dma-mapping.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_ipu_core_entry_single(soc) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mx1_camera_data_entry_single(soc, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mx2_camera_data_entry_single(soc) \
{ \
*/
#include <linux/dma-mapping.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mxc_ehci_data_entry_single(soc, _id, hs) \
{ \
*/
#include <linux/dma-mapping.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mxc_mmc_data_entry_single(soc, _id, _hwid, _size) \
{ \
*/
#include <asm/sizes.h>
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mxc_nand_data_entry_single(soc, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mxc_pwm_data_entry_single(soc, _id, _hwid, _size) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
struct imx_mxc_rnga_data {
resource_size_t iobase;
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mxc_rtc_data_entry_single(soc) \
{ \
* Free Software Foundation.
*/
#include <mach/hardware.h>
-#include <mach/devices-common.h>
+#include "devices-common.h"
#define imx_mxc_w1_data_entry_single(soc) \
{ \
* 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) \
{ \
*/
#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) \
{ \
* 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) \
{ \
#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 */
#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"
/*
#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 */
#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;
#include <mach/hardware.h>
#include <mach/common.h>
-#include <mach/devices-common.h>
+#include "devices/devices-common.h"
#include "iomux-v3.h"
/*
#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
#
# 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
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif
-
-obj-y += devices/