diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-04-23 23:40:22 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-05-25 11:04:35 -0400 |
commit | e57556e3b6dcbf9b459cd503b061457b6ed1758f (patch) | |
tree | 460d002f98a81a3c53983c3129f7455d011afdc8 /arch/arm/mach-at91/board-eco920.c | |
parent | 3d51f259e819b49b3f88b594afcb044d1ffcda8a (diff) |
at91rm9200: introduce at91rm9200_set_type to specficy cpu package
as we can not detect it
by defaut the type will be bga
introduce cpu_is_at91rm9200_bga and cpu_is_at91rm9200_pqfp
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-eco920.c')
-rw-r--r-- | arch/arm/mach-at91/board-eco920.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-eco920.c b/arch/arm/mach-at91/board-eco920.c index 90a44e5c6391..bfc0062d1483 100644 --- a/arch/arm/mach-at91/board-eco920.c +++ b/arch/arm/mach-at91/board-eco920.c | |||
@@ -26,11 +26,16 @@ | |||
26 | 26 | ||
27 | #include <mach/board.h> | 27 | #include <mach/board.h> |
28 | #include <mach/at91rm9200_mc.h> | 28 | #include <mach/at91rm9200_mc.h> |
29 | #include <mach/cpu.h> | ||
30 | |||
29 | #include "generic.h" | 31 | #include "generic.h" |
30 | 32 | ||
31 | static void __init eco920_init_early(void) | 33 | static void __init eco920_init_early(void) |
32 | { | 34 | { |
33 | at91rm9200_initialize(18432000, AT91RM9200_PQFP); | 35 | /* Set cpu type: PQFP */ |
36 | at91rm9200_set_type(ARCH_REVISON_9200_PQFP); | ||
37 | |||
38 | at91rm9200_initialize(18432000); | ||
34 | 39 | ||
35 | /* Setup the LEDs */ | 40 | /* Setup the LEDs */ |
36 | at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1); | 41 | at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1); |