summaryrefslogtreecommitdiff
path: root/include/e500.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/e500.h')
-rw-r--r--include/e500.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/e500.h b/include/e500.h
index 9d3c841..4c5eeb7 100644
--- a/include/e500.h
+++ b/include/e500.h
@@ -8,9 +8,13 @@
#ifndef __ASSEMBLY__
+#ifndef CONFIG_NUM_CPUS
+#define CONFIG_NUM_CPUS 1
+#endif
+
typedef struct
{
- unsigned long freqProcessor;
+ unsigned long freqProcessor[CONFIG_NUM_CPUS];
unsigned long freqSystemBus;
unsigned long freqDDRBus;
unsigned long freqLocalBus;