linux/arch/arm/configs
Tony Lindgren e9b7086b80 ARM: OMAP: Fix reprogramming of dpll1 rate
Commit a66cb3454f (ARM: OMAP: Map SRAM
later on with ioremap_exec()) moved the SRAM init to happen later
to remove a dependency to early SoC detection for map_io.

This broke booting on some boards not using Kconfig option for
OMAP_CLOCKS_SET_BY_BOOTLOADER as the dpll1 reprogramming would
cause the following error:

kernel BUG at arch/arm/plat-omap/sram.c:226!
Internal error: Oops - undefined instruction: 0 [#1] PREEMPT
Modules linked in:

CPU: 0    Not tainted  (3.2.0-rc1-e3 #9)
PC is at omap_sram_reprogram_clock+0x28/0x30
LR is at omap1_select_table_rate+0x88/0xb4
pc : [<c001b0c4>]    lr : [<c0019f54>]    psr: 600000d3
sp : c035bf10  ip : c035bf20  fp : c035bf1c
r10: c035bfd4  r9 : 54029252  r8 : c03f8120
r7 : c0362b50  r6 : 00b71b00  r5 : c03873cc  r4 : c0362b40
r3 : 00000000  r2 : c0362b40  r1 : 0000010a  r0 : 00002cb0
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
Control: 0000317f  Table: 10004000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc035a270)
Stack: (0xc035bf10 to 0xc035c000)
bf00:                                     c035bf3c c035bf20 c0019f54 c001b0ac
bf20: 00001000 00002cb3 00000004 c035ed4c c035bf74 c035bf40 c033ea24 c0019edc
bf40: c02f526c 00000002 00000015 bc058c9b 93111a16 c035335c 02000000 c035ed4c
bf60: c035ed4c c03f8120 c035bf84 c035bf78 c00194c4 c033e8ec c035bfc4 c035bf88
bf80: c033bc24 c00194a0 c035bf90 c035bf98 00000000 00000000 00000000 00000000
bfa0: 00000001 00000000 c0354678 c035ece4 10004000 103532f4 c035bff4 c035bfc8
bfc0: c0338574 c033b598 00000000 00000000 00000000 c035467c 0000317d c035c03c
bfe0: c0354678 c035ece4 00000000 c035bff8 10008040 c0338508 00000000 00000000
Backtrace:
[<c001b09c>] (omap_sram_reprogram_clock+0x0/0x30) from [<c0019f54>] (omap1_select_table_rate+0x88/0xb4)
[<c0019ecc>] (omap1_select_table_rate+0x0/0xb4) from [<c033ea24>] (omap1_clk_init+0x148/0x334)
 r7:c035ed4c r6:00000004 r5:00002cb3 r4:00001000
[<c033e8dc>] (omap1_clk_init+0x0/0x334) from [<c00194c4>] (omap1_init_early+0x34/0x48)
 r8:c03f8120 r7:c035ed4c r6:c035ed4c r5:02000000 r4:c035335c
[<c0019490>] (omap1_init_early+0x0/0x48) from [<c033bc24>] (setup_arch+0x69c/0x79c)
[<c033b588>] (setup_arch+0x0/0x79c) from [<c0338574>] (start_kernel+0x7c/0x2f4)
[<c03384f8>] (start_kernel+0x0/0x2f4) from [<10008040>] (0x10008040)
 r7:c035ece4 r6:c0354678 r5:c035c03c r4:0000317d
Code: 0a000002 e1a0e00f e12fff13 e89da800 (e7f001f2)

Fix this by adding omap1_clk_late_init() that only reprograms dpll1
if the bootloader rate is less than 60MHz. This also allows removing
of the OMAP_CLOCKS_SET_BY_BOOTLOADER option.

Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-11-11 10:15:11 -08:00
..
acs5k_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
acs5k_tiny_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
afeb9260_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
ag5evm_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
am200epdkit_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ap4evb_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
assabet_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
at91cap9adk_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
at91rm9200_defconfig at91: merge all at91rm9200 defconfig in one single file 2010-11-30 10:59:15 +01:00
at91sam9g20ek_defconfig AT91: at91sam9g20ek: merge 2mmc version in one board 2010-10-07 19:56:31 +02:00
at91sam9g45_defconfig ARM: at91: add defconfig for at91sam9g45 family 2011-10-07 17:40:01 +02:00
at91sam9rlek_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
at91sam9260ek_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
at91sam9261_defconfig at91sam9261: rename at91sam9261ek to at91sam9261 defconfig 2011-05-25 23:04:33 +08:00
at91sam9263_defconfig at91sam9263: merge all boards defconfig into only one 2011-05-25 23:04:32 +08:00
at91x40_defconfig arm: at91: minimal defconfig for at91x40 SoC 2011-04-23 11:03:06 +08:00
badge4_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
bcmring_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
cam60_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
cerfcube_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
cm_x2xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
cm_x300_defconfig ARM: pxa/cm-x300: update cm_x300_defconfig 2011-07-11 14:43:28 +08:00
cns3420vb_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
colibri_pxa270_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
colibri_pxa300_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
collie_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
corgi_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
cpu9g20_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
cpu9260_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
da8xx_omapl_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
davinci_all_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
dove_defconfig ARM: Sync Marvell Dove defconfig with latest kernel 2011-05-03 15:38:52 -04:00
ebsa110_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
edb7211_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
em_x270_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ep93xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
eseries_pxa_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
exynos4_defconfig ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos 2011-11-06 13:54:56 +09:00
ezx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
footbridge_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
fortunet_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
g3evm_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
g4evm_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
h3600_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
h5000_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
h7201_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
h7202_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
hackkit_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
imote2_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
imx_v4_v5_defconfig ARM i.MX defconfigs: use one defconfig for all ARMv4/v5 SoCs 2011-08-25 08:53:48 +02:00
integrator_defconfig ARM: 7102/1: mach-integrator: update defconfig 2011-10-17 09:13:40 +01:00
iop13xx_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
iop32x_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
iop33x_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
ixp4xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ixp23xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ixp2000_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
jornada720_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
kirkwood_defconfig [ARM] Kirkwood: add LaCie d2 Network v2 to defconfig 2011-03-03 16:27:01 -05:00
ks8695_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
lart_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
lpd270_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
lubbock_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
mackerel_defconfig ARM: mach-shmobile: mackerel: Add mackerel defconfig 2010-11-29 13:25:22 +09:00
magician_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
mainstone_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
mini2440_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
mmp2_defconfig ARM: mmp2: update mmp2_defconfig to support mmc 2011-07-20 17:20:52 -04:00
msm_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
mv78xx0_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
mx3_defconfig arm: mx3: update defconfig 2011-10-09 11:44:31 +02:00
mx5_defconfig ARM i.MX5: update defconfig 2011-08-25 08:52:53 +02:00
mxs_defconfig ARM: mxs: Add initial support for DENX MX28 2011-10-13 09:06:58 +02:00
neponset_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
netwinder_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
netx_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
nhk8815_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
nuc910_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
nuc950_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
nuc960_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
omap1_defconfig ARM: OMAP: Fix reprogramming of dpll1 rate 2011-11-11 10:15:11 -08:00
omap2plus_defconfig omap: Run make savedefconfig on omap2plus_defconfig to shrink it 2011-05-03 02:38:02 -07:00
orion5x_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
palmz72_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pcm027_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
pcontrol_g20_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
pleb_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
pnx4008_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
pxa3xx_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pxa168_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pxa255-idp_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
pxa910_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
qil-a9260_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
raumfeld_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
realview_defconfig ARM: 6903/1: Realview: Use physmap driver instead of integrator-flash 2011-05-20 22:27:08 +01:00
realview-smp_defconfig ARM: 6903/1: Realview: Use physmap driver instead of integrator-flash 2011-05-20 22:27:08 +01:00
rpc_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
s3c2410_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
s3c6400_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
s5p64x0_defconfig ARM: S5P: Update defconfig for HRT support 2011-03-12 08:05:19 +09:00
s5pc100_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
s5pv210_defconfig ARM: S5P: Update defconfig for HRT support 2011-03-12 08:05:19 +09:00
sam9_l9260_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
shannon_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
shark_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
simpad_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
spear3xx_defconfig ARM: 6932/1: SPEAr3xx: Replace defconfigs with single unified defconfig 2011-05-20 22:34:25 +01:00
spear6xx_defconfig ARM: 6933/1: SPEAR6xx: Rename spear600_defconfig as spear6xx_defconfig 2011-05-20 22:34:25 +01:00
spitz_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
stamp9g20_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
tct_hammer_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
tegra_defconfig ARM: tegra: update defconfig 2011-10-13 15:07:40 -07:00
trizeps4_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
u300_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
u8500_defconfig mach-ux500: add configs for snowball board 2011-06-23 12:04:56 +02:00
usb-a9260_defconfig ARM: reduce defconfigs 2010-06-10 07:12:18 +02:00
versatile_defconfig ARM: 6907/1: Versatile: Use physmap driver instead of integrator-flash 2011-05-20 22:27:08 +01:00
vexpress_defconfig ARM: 6647/1: add Versatile Express defconfig 2011-02-19 10:55:12 +00:00
viper_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
xcep_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
zeus_defconfig rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00