]> git.sur5r.net Git - u-boot/blobdiff - include/e500.h
82xx, mgcoge: fix compile error
[u-boot] / include / e500.h
index 9d3c8417c01ae31df7b7479226b44741f9f9e535..4c5eeb74e1485119bf4c99d7d5da4fbc04e724fc 100644 (file)
@@ -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;