summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/smemc.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2015-08-23 21:13:57 +0200
committerRobert Jarzmik <robert.jarzmik@free.fr>2015-09-13 12:55:27 +0200
commitadf3442cc890f04af1e8e2c0b335c84e5092dca9 (patch)
treed677b6d9a08ebe14427ee454868c08d2399bd145 /arch/arm/mach-pxa/smemc.c
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadtalos-obmc-linux-adf3442cc890f04af1e8e2c0b335c84e5092dca9.tar.gz
talos-obmc-linux-adf3442cc890f04af1e8e2c0b335c84e5092dca9.zip
ARM: pxa: fix DFI bus lockups on startup
After the conversion of pxa architecture to common clock framework, the NAND clock can be disabled on startup if no nand driver claims it. In this case, it happens that if the bootloader used the NAND and set the DFI arbitration bit, the next access to a static memory controller area, such as an ethernet card, the system bus will stall, and the core will be stalled forever. Fix this by clearing the DFI arbritration bit in pxa3xx startup. The bit will be enabled the pxa3xx-nand driver on need anyway. The only left requirement is that upon pxa3xx-nand removal, the bit should be cleared before the clock is disabled. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/smemc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud