diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-bast.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 7b81296427eb..f01de807b72f 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -464,13 +464,6 @@ static struct clk *bast_clocks[] = { | |||
464 | &s3c24xx_uclk, | 464 | &s3c24xx_uclk, |
465 | }; | 465 | }; |
466 | 466 | ||
467 | static struct s3c24xx_board bast_board __initdata = { | ||
468 | .devices = bast_devices, | ||
469 | .devices_count = ARRAY_SIZE(bast_devices), | ||
470 | .clocks = bast_clocks, | ||
471 | .clocks_count = ARRAY_SIZE(bast_clocks), | ||
472 | }; | ||
473 | |||
474 | static void __init bast_map_io(void) | 467 | static void __init bast_map_io(void) |
475 | { | 468 | { |
476 | /* initialise the clocks */ | 469 | /* initialise the clocks */ |
@@ -486,19 +479,22 @@ static void __init bast_map_io(void) | |||
486 | 479 | ||
487 | s3c24xx_uclk.parent = &s3c24xx_clkout1; | 480 | s3c24xx_uclk.parent = &s3c24xx_clkout1; |
488 | 481 | ||
482 | s3c24xx_register_clocks(bast_clocks, ARRAY_SIZE(bast_clocks)); | ||
483 | |||
489 | s3c_device_nand.dev.platform_data = &bast_nand_info; | 484 | s3c_device_nand.dev.platform_data = &bast_nand_info; |
490 | s3c_device_i2c.dev.platform_data = &bast_i2c_info; | 485 | s3c_device_i2c.dev.platform_data = &bast_i2c_info; |
491 | 486 | ||
492 | s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc)); | 487 | s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc)); |
493 | s3c24xx_init_clocks(0); | 488 | s3c24xx_init_clocks(0); |
494 | s3c24xx_init_uarts(bast_uartcfgs, ARRAY_SIZE(bast_uartcfgs)); | 489 | s3c24xx_init_uarts(bast_uartcfgs, ARRAY_SIZE(bast_uartcfgs)); |
495 | s3c24xx_set_board(&bast_board); | 490 | |
496 | usb_simtec_init(); | 491 | usb_simtec_init(); |
497 | } | 492 | } |
498 | 493 | ||
499 | static void __init bast_init(void) | 494 | static void __init bast_init(void) |
500 | { | 495 | { |
501 | s3c24xx_fb_set_platdata(&bast_lcd_info); | 496 | s3c24xx_fb_set_platdata(&bast_lcd_info); |
497 | platform_add_devices(bast_devices, ARRAY_SIZE(bast_devices)); | ||
502 | } | 498 | } |
503 | 499 | ||
504 | MACHINE_START(BAST, "Simtec-BAST") | 500 | MACHINE_START(BAST, "Simtec-BAST") |