diff options
author | Greg Ungerer <gerg@uclinux.org> | 2015-07-07 01:01:53 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2015-07-12 19:34:39 -0400 |
commit | 15c2ca4e98a3cd265b17db126e2e6b752f99014d (patch) | |
tree | a169f4b9edbc3ea635328c651b7db09a1ba1e8d1 | |
parent | d9ee489619744ee5ac246b8fb3dd65bb078d2f0a (diff) |
m68knommu: improve the clock configuration defaults
Create some intelligent default settings for each ColdFire SoC type
in the configuration entry for CONFIG_CLOCK_FREQ.
The ColdFire clock frequency is configurable at build time. There is a
lot of variation in the frequency of operation on specific ColdFire based
boards. But we can choose a default that matches the maximum frequency
of clock operation for a particular ColdFire part. That is typically
the most common clock setting.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | arch/m68k/Kconfig.cpu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu index 7da594994765..62f590e41880 100644 --- a/arch/m68k/Kconfig.cpu +++ b/arch/m68k/Kconfig.cpu | |||
@@ -418,6 +418,14 @@ config HAVE_IPSBAR | |||
418 | 418 | ||
419 | config CLOCK_FREQ | 419 | config CLOCK_FREQ |
420 | int "Set the core clock frequency" | 420 | int "Set the core clock frequency" |
421 | default "25000000" if M5206 | ||
422 | default "54000000" if M5206e | ||
423 | default "166666666" if M520x | ||
424 | default "140000000" if M5249 | ||
425 | default "150000000" if M527x || M523x | ||
426 | default "90000000" if M5307 | ||
427 | default "50000000" if M5407 | ||
428 | default "266000000" if M54xx | ||
421 | default "66666666" | 429 | default "66666666" |
422 | depends on COLDFIRE | 430 | depends on COLDFIRE |
423 | help | 431 | help |