]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
m68knommu: improve the clock configuration defaults
authorGreg Ungerer <gerg@uclinux.org>
Tue, 7 Jul 2015 05:01:53 +0000 (15:01 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 12 Jul 2015 23:34:39 +0000 (09:34 +1000)
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>
arch/m68k/Kconfig.cpu

index 7da59499476500a2cca00d75b1f9f6143f1e7f6c..62f590e41880ac244f4704e817d93b5c39af6441 100644 (file)
@@ -418,6 +418,14 @@ config HAVE_IPSBAR
 
 config CLOCK_FREQ
        int "Set the core clock frequency"
+       default "25000000" if M5206
+       default "54000000" if M5206e
+       default "166666666" if M520x
+       default "140000000" if M5249
+       default "150000000" if M527x || M523x
+       default "90000000" if M5307
+       default "50000000" if M5407
+       default "266000000" if M54xx
        default "66666666"
        depends on COLDFIRE
        help