diff options
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-osiris.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index 2ed8e51f20c8..324f5a237921 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -251,13 +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 | .clocks = osiris_clocks, | ||
258 | .clocks_count = ARRAY_SIZE(osiris_clocks), | ||
259 | }; | ||
260 | |||
261 | static void __init osiris_map_io(void) | 254 | static void __init osiris_map_io(void) |
262 | { | 255 | { |
263 | unsigned long flags; | 256 | unsigned long flags; |
@@ -275,12 +268,13 @@ static void __init osiris_map_io(void) | |||
275 | 268 | ||
276 | s3c24xx_uclk.parent = &s3c24xx_clkout1; | 269 | s3c24xx_uclk.parent = &s3c24xx_clkout1; |
277 | 270 | ||
271 | s3c24xx_register_clocks(osiris_clocks, ARRAY_SIZE(osiris_clocks)); | ||
272 | |||
278 | s3c_device_nand.dev.platform_data = &osiris_nand_info; | 273 | s3c_device_nand.dev.platform_data = &osiris_nand_info; |
279 | 274 | ||
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 |