Add an option to be able to override the value of the AT91 master clock

frequency. It'd be better to be able to calculate it at runtime, but we need
the information very early, to setup the uart.
This commit is contained in:
cognet 2007-10-25 23:02:42 +00:00
parent 5ddc0ba134
commit bf5c2ef02d
2 changed files with 3 additions and 0 deletions

View File

@ -340,7 +340,9 @@
#define AT91RM92_OHCI_PA_BASE 0x00300000
#define AT91RM92_OHCI_SIZE 0x00100000
#ifndef AT91C_MASTER_CLOCK
#define AT91C_MASTER_CLOCK 60000000
#endif
/* SDRAMC */

View File

@ -4,6 +4,7 @@ ARM_CACHE_LOCK_ENABLE opt_global.h
ARMFPE opt_global.h
ARM_KERN_DIRECTMAP opt_vm.h
ARM_USE_SMALL_ALLOC opt_global.h
AT91C_MASTER_CLOCK opt_global.h
COUNTS_PER_SEC opt_timer.h
CPU_SA1100 opt_global.h
CPU_SA1110 opt_global.h