summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-09 01:04:33 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-09 01:04:33 +0200
commit7521af1c7d95ff087a4f7636ed050f4d4be91b59 (patch)
treeacd83b262b72925dba271c7e0bcb0dcf7072bdae /cpu/ppc4xx
parent95f9dda2165f045a7e1708885ee589878cc6f20b (diff)
downloadu-boot-imx-7521af1c7d95ff087a4f7636ed050f4d4be91b59.zip
u-boot-imx-7521af1c7d95ff087a4f7636ed050f4d4be91b59.tar.gz
u-boot-imx-7521af1c7d95ff087a4f7636ed050f4d4be91b59.tar.bz2
Add support for AP1000 board.
Patch by James MacAulay, 07 Oct 2005
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/speed.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c
index 469f97d..cbd7b24 100644
--- a/cpu/ppc4xx/speed.c
+++ b/cpu/ppc4xx/speed.c
@@ -381,6 +381,13 @@ ulong get_OPB_freq (void)
extern void get_sys_info (sys_info_t * sysInfo);
extern ulong get_PCI_freq (void);
+#elif defined(CONFIG_AP1000)
+void get_sys_info (sys_info_t * sysInfo) {
+ sysInfo->freqProcessor = 240 * 1000 * 1000;
+ sysInfo->freqPLB = 80 * 1000 * 1000;
+ sysInfo->freqPCI = 33 * 1000 * 1000;
+}
+
#elif defined(CONFIG_405)
void get_sys_info (sys_info_t * sysInfo) {