ARM: ux500: Enable the clock controlling Ethernet on Snowball
authorLee Jones <lee.jones@linaro.org>
Wed, 27 Mar 2013 14:13:53 +0000 (14:13 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 19:20:40 +0000 (20:20 +0100)
commit265c3c0a64df50c0e8fe55cfe8af8851ed5feca5
tree9ded5970664eed758885a14ab4cdd11a78889576
parent26135256d3e7d4d12c6268623edc1740888c041f
ARM: ux500: Enable the clock controlling Ethernet on Snowball

This fixes a regression introduced by common clk enablement.

On some u8500 based boards, the FMSC clock which is usually used
for flash, is wired up to the SMSC911x Ethernet driver. However,
the SMSC911x doesn't have common clk support yet, rendering it
unusable. Prior to the introduction of common clk the FMSC clock
was default on; however, common clk disables all clocks by default
and insists drivers take responsibility to enable theirs.

This fix enables the FMSC clock on Snowball, subsequently turning
on the SMSC911x Ethernet chip. It will be removed when the driver
is compatible with common clk.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/board-mop500.h
arch/arm/mach-ux500/cpu-db8500.c