From d9df1f4e662441c487f96a4e1f91caa9297afdd9 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 15 Mar 2004 09:00:01 +0000 Subject: * Patch by Steven Scholz, 27 Feb 2004: - Adding get_ticks() and get_tbclk() for AT91RM9200 - Many white space fixes in cpu/at91rm9200/interrupts.c * Patches by Steven Scholz, 20 Feb 2004: some cleanup in AT91RM9200 related code --- include/asm-arm/arch-at91rm9200/hardware.h | 5 ----- include/configs/at91rm9200dk.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/asm-arm/arch-at91rm9200/hardware.h b/include/asm-arm/arch-at91rm9200/hardware.h index 2bad8a9bd2..19d799d539 100644 --- a/include/asm-arm/arch-at91rm9200/hardware.h +++ b/include/asm-arm/arch-at91rm9200/hardware.h @@ -28,11 +28,6 @@ #include "AT91RM9200_inc.h" #endif -/* AT91RM92000 clocks */ -#define AT91_MAIN_CLOCK 179712000 /* from 18.432 MHz crystal (18432000 / 4 * 39) */ -#define AT91_MASTER_CLOCK 59904000 /* peripheral clock (AT91C_MASTER_CLOCK / 3) */ -#define AT91_SLOW_CLOCK 32768 /* slow clock */ - /* Virtual and Physical base address for system peripherals */ #define AT91_SYS_BASE 0xFFFFF000 /*4K */ diff --git a/include/configs/at91rm9200dk.h b/include/configs/at91rm9200dk.h index 90cf8a2b4a..3949f9caa0 100644 --- a/include/configs/at91rm9200dk.h +++ b/include/configs/at91rm9200dk.h @@ -36,6 +36,8 @@ #define AT91C_MASTER_CLOCK 59904000 /* peripheral clock (AT91C_MASTER_CLOCK / 3) */ /* #define AT91C_MASTER_CLOCK 44928000 */ /* peripheral clock (AT91C_MASTER_CLOCK / 4) */ +#define AT91_SLOW_CLOCK 32768 /* slow clock */ + #define CONFIG_AT91RM9200DK 1 /* on an AT91RM9200DK Board */ #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ @@ -50,6 +52,8 @@ #define CONFIG_BAUDRATE 115200 +#define CFG_AT91C_BRGR_DIVISOR 33 /* hardcode so no __divsi3 : AT91C_MASTER_CLOCK / baudrate / 16 */ + /* * Hardware drivers */ -- cgit v1.2.1