diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7366.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index 2a0fbc3ed9c2..7ee01757f3fe 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -48,6 +48,9 @@ static struct resource vpu_resources[] = { | |||
48 | .end = 0xfe902807, | 48 | .end = 0xfe902807, |
49 | .flags = IORESOURCE_MEM, | 49 | .flags = IORESOURCE_MEM, |
50 | }, | 50 | }, |
51 | [1] = { | ||
52 | /* place holder for contiguous memory */ | ||
53 | }, | ||
51 | }; | 54 | }; |
52 | 55 | ||
53 | static struct platform_device vpu_device = { | 56 | static struct platform_device vpu_device = { |
@@ -73,6 +76,9 @@ static struct resource veu0_resources[] = { | |||
73 | .end = 0xfe9200b7, | 76 | .end = 0xfe9200b7, |
74 | .flags = IORESOURCE_MEM, | 77 | .flags = IORESOURCE_MEM, |
75 | }, | 78 | }, |
79 | [1] = { | ||
80 | /* place holder for contiguous memory */ | ||
81 | }, | ||
76 | }; | 82 | }; |
77 | 83 | ||
78 | static struct platform_device veu0_device = { | 84 | static struct platform_device veu0_device = { |
@@ -98,6 +104,9 @@ static struct resource veu1_resources[] = { | |||
98 | .end = 0xfe9240b7, | 104 | .end = 0xfe9240b7, |
99 | .flags = IORESOURCE_MEM, | 105 | .flags = IORESOURCE_MEM, |
100 | }, | 106 | }, |
107 | [1] = { | ||
108 | /* place holder for contiguous memory */ | ||
109 | }, | ||
101 | }; | 110 | }; |
102 | 111 | ||
103 | static struct platform_device veu1_device = { | 112 | static struct platform_device veu1_device = { |
@@ -139,6 +148,9 @@ static struct platform_device *sh7366_devices[] __initdata = { | |||
139 | 148 | ||
140 | static int __init sh7366_devices_setup(void) | 149 | static int __init sh7366_devices_setup(void) |
141 | { | 150 | { |
151 | platform_resource_setup_memory(&vpu_device, "vpu", 2 << 20); | ||
152 | platform_resource_setup_memory(&veu0_device, "veu0", 2 << 20); | ||
153 | platform_resource_setup_memory(&veu1_device, "veu1", 2 << 20); | ||
142 | return platform_add_devices(sh7366_devices, | 154 | return platform_add_devices(sh7366_devices, |
143 | ARRAY_SIZE(sh7366_devices)); | 155 | ARRAY_SIZE(sh7366_devices)); |
144 | } | 156 | } |