• Greg Ungerer's avatar
    m68knommu: force setting of CONFIG_CLOCK_FREQ for ColdFire · d9ee4896
    Greg Ungerer authored
    It is possible to disable the clock selection at configuration time,
    but for ColdFire targets we always expect a clock frequency to be
    selected. This results in the following compile time error:
    
      CC      arch/m68k/kernel/asm-offsets.s
    In file included from ./arch/m68k/include/asm/timex.h:14:0,
                     from include/linux/timex.h:65,
                     from include/linux/sched.h:19,
                     from arch/m68k/kernel/asm-offsets.c:14:
    ./arch/m68k/include/asm/coldfire.h:25:2: error: #error "Don't know what your ColdFire CPU clock frequency is??"
    
    Remove CONFIG_CLOCK_SELECT completely and always enable CONFIG_CLOCK_FREQ
    for ColdFire.
    Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
    Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    d9ee4896
coldfire.h 1.58 KB