diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9g20ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9g20ek.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index d13acd5c92f2..0a24f3f687c8 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -61,7 +61,7 @@ static int inline ek_have_2mmc(void) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | 63 | ||
64 | static void __init ek_map_io(void) | 64 | static void __init ek_init_early(void) |
65 | { | 65 | { |
66 | /* Initialize processor: 18.432 MHz crystal */ | 66 | /* Initialize processor: 18.432 MHz crystal */ |
67 | at91sam9260_initialize(18432000); | 67 | at91sam9260_initialize(18432000); |
@@ -405,7 +405,8 @@ MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | |||
405 | /* Maintainer: Atmel */ | 405 | /* Maintainer: Atmel */ |
406 | .boot_params = AT91_SDRAM_BASE + 0x100, | 406 | .boot_params = AT91_SDRAM_BASE + 0x100, |
407 | .timer = &at91sam926x_timer, | 407 | .timer = &at91sam926x_timer, |
408 | .map_io = ek_map_io, | 408 | .map_io = at91sam9260_map_io, |
409 | .init_early = ek_init_early, | ||
409 | .init_irq = ek_init_irq, | 410 | .init_irq = ek_init_irq, |
410 | .init_machine = ek_board_init, | 411 | .init_machine = ek_board_init, |
411 | MACHINE_END | 412 | MACHINE_END |
@@ -414,7 +415,8 @@ MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") | |||
414 | /* Maintainer: Atmel */ | 415 | /* Maintainer: Atmel */ |
415 | .boot_params = AT91_SDRAM_BASE + 0x100, | 416 | .boot_params = AT91_SDRAM_BASE + 0x100, |
416 | .timer = &at91sam926x_timer, | 417 | .timer = &at91sam926x_timer, |
417 | .map_io = ek_map_io, | 418 | .map_io = at91sam9260_map_io, |
419 | .init_early = ek_init_early, | ||
418 | .init_irq = ek_init_irq, | 420 | .init_irq = ek_init_irq, |
419 | .init_machine = ek_board_init, | 421 | .init_machine = ek_board_init, |
420 | MACHINE_END | 422 | MACHINE_END |