diff options
Diffstat (limited to 'arch/arm/mach-at91/board-yl-9200.c')
-rw-r--r-- | arch/arm/mach-at91/board-yl-9200.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/board-yl-9200.c b/arch/arm/mach-at91/board-yl-9200.c index e0f0080eb639..c208cc334d7d 100644 --- a/arch/arm/mach-at91/board-yl-9200.c +++ b/arch/arm/mach-at91/board-yl-9200.c | |||
@@ -45,14 +45,18 @@ | |||
45 | #include <mach/board.h> | 45 | #include <mach/board.h> |
46 | #include <mach/gpio.h> | 46 | #include <mach/gpio.h> |
47 | #include <mach/at91rm9200_mc.h> | 47 | #include <mach/at91rm9200_mc.h> |
48 | #include <mach/cpu.h> | ||
48 | 49 | ||
49 | #include "generic.h" | 50 | #include "generic.h" |
50 | 51 | ||
51 | 52 | ||
52 | static void __init yl9200_map_io(void) | 53 | static void __init yl9200_init_early(void) |
53 | { | 54 | { |
55 | /* Set cpu type: PQFP */ | ||
56 | at91rm9200_set_type(ARCH_REVISON_9200_PQFP); | ||
57 | |||
54 | /* Initialize processor: 18.432 MHz crystal */ | 58 | /* Initialize processor: 18.432 MHz crystal */ |
55 | at91rm9200_initialize(18432000, AT91RM9200_PQFP); | 59 | at91rm9200_initialize(18432000); |
56 | 60 | ||
57 | /* Setup the LEDs D2=PB17 (timer), D3=PB16 (cpu) */ | 61 | /* Setup the LEDs D2=PB17 (timer), D3=PB16 (cpu) */ |
58 | at91_init_leds(AT91_PIN_PB16, AT91_PIN_PB17); | 62 | at91_init_leds(AT91_PIN_PB16, AT91_PIN_PB17); |
@@ -594,9 +598,9 @@ static void __init yl9200_board_init(void) | |||
594 | 598 | ||
595 | MACHINE_START(YL9200, "uCdragon YL-9200") | 599 | MACHINE_START(YL9200, "uCdragon YL-9200") |
596 | /* Maintainer: S.Birtles */ | 600 | /* Maintainer: S.Birtles */ |
597 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
598 | .timer = &at91rm9200_timer, | 601 | .timer = &at91rm9200_timer, |
599 | .map_io = yl9200_map_io, | 602 | .map_io = at91rm9200_map_io, |
603 | .init_early = yl9200_init_early, | ||
600 | .init_irq = yl9200_init_irq, | 604 | .init_irq = yl9200_init_irq, |
601 | .init_machine = yl9200_board_init, | 605 | .init_machine = yl9200_board_init, |
602 | MACHINE_END | 606 | MACHINE_END |