diff options
Diffstat (limited to 'arch/arm/boards/pcm043/pcm043.c')
-rw-r--r-- | arch/arm/boards/pcm043/pcm043.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/boards/pcm043/pcm043.c b/arch/arm/boards/pcm043/pcm043.c index 497149d1d8..9f98795fd1 100644 --- a/arch/arm/boards/pcm043/pcm043.c +++ b/arch/arm/boards/pcm043/pcm043.c @@ -35,7 +35,7 @@ #include <asm/io.h> #include <partition.h> #include <nand.h> -#include <asm/mach-types.h> +#include <generated/mach-types.h> #include <mach/imx-nand.h> #include <fec.h> #include <fb.h> @@ -49,6 +49,7 @@ * CS line 0, data width is 16 bit */ static struct device_d cfi_dev = { + .id = -1, .name = "cfi_flash", .map_base = IMX_CS0_BASE, .size = 32 * 1024 * 1024, /* area size */ @@ -59,6 +60,7 @@ static struct fec_platform_data fec_info = { }; static struct device_d fec_dev = { + .id = -1, .name = "fec_imx", .map_base = IMX_FEC_BASE, .platform_data = &fec_info, @@ -70,6 +72,7 @@ static struct memory_platform_data ram_pdata = { }; static struct device_d sdram0_dev = { + .id = -1, .name = "mem", .map_base = IMX_SDRAM_CS0, .size = 128 * 1024 * 1024, @@ -83,6 +86,7 @@ struct imx_nand_platform_data nand_info = { }; static struct device_d nand_dev = { + .id = -1, .name = "imx_nand", .map_base = IMX_NFC_BASE, .platform_data = &nand_info, @@ -132,6 +136,7 @@ static struct imx_ipu_fb_platform_data ipu_fb_data = { }; static struct device_d imx_ipu_fb_dev = { + .id = -1, .name = "imx-ipu-fb", .map_base = 0x53fc0000, .size = 0x1000, @@ -217,6 +222,7 @@ static int imx35_devices_init(void) device_initcall(imx35_devices_init); static struct device_d imx35_serial_device = { + .id = -1, .name = "imx_serial", .map_base = IMX_UART1_BASE, .size = 16 * 1024, |