diff options
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-osiris.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index c9872210ab5a..324f5a237921 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -251,11 +251,6 @@ static struct clk *osiris_clocks[] = { | |||
251 | &s3c24xx_uclk, | 251 | &s3c24xx_uclk, |
252 | }; | 252 | }; |
253 | 253 | ||
254 | static struct s3c24xx_board osiris_board __initdata = { | ||
255 | .devices = osiris_devices, | ||
256 | .devices_count = ARRAY_SIZE(osiris_devices), | ||
257 | }; | ||
258 | |||
259 | static void __init osiris_map_io(void) | 254 | static void __init osiris_map_io(void) |
260 | { | 255 | { |
261 | unsigned long flags; | 256 | unsigned long flags; |
@@ -280,7 +275,6 @@ static void __init osiris_map_io(void) | |||
280 | s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); | 275 | s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); |
281 | s3c24xx_init_clocks(0); | 276 | s3c24xx_init_clocks(0); |
282 | s3c24xx_init_uarts(osiris_uartcfgs, ARRAY_SIZE(osiris_uartcfgs)); | 277 | s3c24xx_init_uarts(osiris_uartcfgs, ARRAY_SIZE(osiris_uartcfgs)); |
283 | s3c24xx_set_board(&osiris_board); | ||
284 | 278 | ||
285 | /* fix bus configuration (nBE settings wrong on ABLE pre v2.20) */ | 279 | /* fix bus configuration (nBE settings wrong on ABLE pre v2.20) */ |
286 | 280 | ||
@@ -292,12 +286,18 @@ static void __init osiris_map_io(void) | |||
292 | s3c2410_gpio_setpin(S3C2410_GPA0, 1); | 286 | s3c2410_gpio_setpin(S3C2410_GPA0, 1); |
293 | } | 287 | } |
294 | 288 | ||
289 | static void __init osiris_init(void) | ||
290 | { | ||
291 | platform_add_devices(osiris_devices, ARRAY_SIZE(osiris_devices)); | ||
292 | }; | ||
293 | |||
295 | MACHINE_START(OSIRIS, "Simtec-OSIRIS") | 294 | MACHINE_START(OSIRIS, "Simtec-OSIRIS") |
296 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ | 295 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
297 | .phys_io = S3C2410_PA_UART, | 296 | .phys_io = S3C2410_PA_UART, |
298 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | 297 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, |
299 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 298 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
300 | .map_io = osiris_map_io, | 299 | .map_io = osiris_map_io, |
300 | .init_machine = osiris_init, | ||
301 | .init_irq = s3c24xx_init_irq, | 301 | .init_irq = s3c24xx_init_irq, |
302 | .timer = &s3c24xx_timer, | 302 | .timer = &s3c24xx_timer, |
303 | MACHINE_END | 303 | MACHINE_END |