Skip to content
  • Janusz Krzysztofik's avatar
    ARM: OMAP1: Remove unsafe clock values from omap1_defconfig · b29e2354
    Janusz Krzysztofik authored
    
    
    DPLL1 reprogramming to a different rate is actually blocked inside
    omap1_select_table_rate(), resulting in the defalut rate of 60 MHz
    always used instead of the one selected in .config. OTOH, in
    omap1_defconfig we currently rely on Kconfig options for the supported
    MHz rates in case of boards which boot with dpll1 not set correctly by
    their boot loaders.
    
    This means that before we allow for reprogramming of dpll1 rate, we
    should remove all unsafe clock selections from omap1_defconfig,
    otherwise it will stop booting on boards with imperfect boot loaders,
    as it would always try to change to 216MHz.
    
    Keep only one safe clock rate per each supported xtal frequency, i.e.
    60MHZ dpll1 for 12MHz xtal and 182MHz dpll1 for 13MHz xtal.
    
    BTW, this change goes into the direction of removing all OMAP1 clock
    rate options, planned for next merge window.
    
    Signed-off-by: default avatarJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    b29e2354