summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-18 12:27:55 +0100
committerOlivier Dufour2013-01-25 13:40:55 +0100
commita67175e509f33600b4c774a8e459c4b188a141ce (patch)
tree36eabcd959101ed9f9d4a6f6ddee507cc111ac1e /common
parentba9f176419cad31558377cbfbd320cefe322a3b8 (diff)
polux/linux/mse500: add SET_CLK config, refs #1325
Diffstat (limited to 'common')
-rw-r--r--common/include/asm/arch/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/include/asm/arch/platform.h b/common/include/asm/arch/platform.h
index 77b52dd040..cfe6b62411 100644
--- a/common/include/asm/arch/platform.h
+++ b/common/include/asm/arch/platform.h
@@ -120,6 +120,11 @@ extern uint32_t spc300_plc_mem_size;
/* polux/linux/asm/arch/platform.h uses polux/include/platform.h...
* It is dirty, but make this clean would imply many changes and impact SPC200
* specific code. So we keep it this way for MSE500. */
+#if defined (CONFIG_SYSCLK_SPEED)
+# if CONFIG_SYSCLK_SPEED != 96
+# error "Clock speed not supported"
+# endif
+#endif
#include <platform.h>
#else