ARM: OMAP1: Remove unsafe clock values from omap1_defconfig
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Thu, 1 Dec 2011 20:30:39 +0000 (21:30 +0100)
committerTony Lindgren <tony@atomide.com>
Fri, 2 Dec 2011 01:49:11 +0000 (17:49 -0800)
commitb29e23547ecb2a609777288cd81fc83b01f9f43f
tree79259533bbccdf3573f61ea665427b157df04eb9
parent650f7a72b8cc235ffe4a0e3eff37954349026721
ARM: OMAP1: Remove unsafe clock values from omap1_defconfig

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: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/configs/omap1_defconfig