diff options
author | Stelian Pop <stelian@popies.net> | 2008-11-07 13:55:14 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-11-21 01:41:14 +0100 |
commit | ad229a44e162af0f65e57e4e3dc133d5f0364ecb (patch) | |
tree | 528e9c8ac10c98f939a4ac8bf281ade7b6eedd30 /include/configs/at91sam9261ek.h | |
parent | 9b827cf1720acda2473afa516956eab6f7cca9a1 (diff) | |
download | u-boot-imx-ad229a44e162af0f65e57e4e3dc133d5f0364ecb.zip u-boot-imx-ad229a44e162af0f65e57e4e3dc133d5f0364ecb.tar.gz u-boot-imx-ad229a44e162af0f65e57e4e3dc133d5f0364ecb.tar.bz2 |
AT91: Use AT91_CPU_CLOCK in displays
Introduce AT91_CPU_CLOCK and use it for displaying the CPU
speed in the LCD driver.
Also make AT91_MAIN_CLOCK and AT91_MASTER_CLOCK reflect the
corresponding board clocks.
Signed-off-by: Stelian Pop <stelian@popies.net>
Diffstat (limited to 'include/configs/at91sam9261ek.h')
-rw-r--r-- | include/configs/at91sam9261ek.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h index add31c9..efe35a4 100644 --- a/include/configs/at91sam9261ek.h +++ b/include/configs/at91sam9261ek.h @@ -29,9 +29,10 @@ /* ARM asynchronous clock */ #define AT91_CPU_NAME "AT91SAM9261" -#define AT91_MAIN_CLOCK 198656000 /* from 18.432 MHz crystal */ -#define AT91_MASTER_CLOCK 99328000 /* peripheral = main / 2 */ -#define CONFIG_SYS_HZ 1000000 /* 1us resolution */ +#define AT91_MAIN_CLOCK 18432000 /* 18.432 MHz crystal */ +#define AT91_MASTER_CLOCK 100000000 /* peripheral */ +#define AT91_CPU_CLOCK 200000000 /* cpu */ +#define CONFIG_SYS_HZ 1000000 /* 1us resolution */ #define AT91_SLOW_CLOCK 32768 /* slow clock */ |