aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-1arm.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-04-24 11:40:22 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-05-25 23:04:35 +0800
commite57556e3b6dcbf9b459cd503b061457b6ed1758f (patch)
tree460d002f98a81a3c53983c3129f7455d011afdc8 /arch/arm/mach-at91/board-1arm.c
parent3d51f259e819b49b3f88b594afcb044d1ffcda8a (diff)
downloadkernel_samsung_smdk4412-e57556e3b6dcbf9b459cd503b061457b6ed1758f.zip
kernel_samsung_smdk4412-e57556e3b6dcbf9b459cd503b061457b6ed1758f.tar.gz
kernel_samsung_smdk4412-e57556e3b6dcbf9b459cd503b061457b6ed1758f.tar.bz2
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-1arm.c')
-rw-r--r--arch/arm/mach-at91/board-1arm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-1arm.c b/arch/arm/mach-at91/board-1arm.c
index 73372ca..ab1d463 100644
--- a/arch/arm/mach-at91/board-1arm.c
+++ b/arch/arm/mach-at91/board-1arm.c
@@ -35,14 +35,18 @@
#include <mach/board.h>
#include <mach/gpio.h>
+#include <mach/cpu.h>
#include "generic.h"
static void __init onearm_init_early(void)
{
+ /* Set cpu type: PQFP */
+ at91rm9200_set_type(ARCH_REVISON_9200_PQFP);
+
/* Initialize processor: 18.432 MHz crystal */
- at91rm9200_initialize(18432000, AT91RM9200_PQFP);
+ at91rm9200_initialize(18432000);
/* DBGU on ttyS0. (Rx & Tx only) */
at91_register_uart(0, 0, 0);