On Wednesday 07 March 2012, Jason wrote:
> > Is it guaranteed that it's always the first port that gets used if there
> > is only one? If not, this might turn on the wrong one.
>
> This is the same logic as mach-kirkwood/common.c:176
>
> void __init kirkwood_sata_init(struct mv_sata_platform_data
On Wed, Mar 07, 2012 at 06:40:09PM +, Arnd Bergmann wrote:
> On Wednesday 07 March 2012, Jason Cooper wrote:
> > @@ -504,6 +504,16 @@ static int __init kirkwood_clock_gate(void)
> > kirkwood_clk_ctrl |= CGC_USB0;
> > of_node_put(np);
> > }
> > +
> > +
On Wednesday 07 March 2012, Jason Cooper wrote:
> @@ -504,6 +504,16 @@ static int __init kirkwood_clock_gate(void)
> kirkwood_clk_ctrl |= CGC_USB0;
> of_node_put(np);
> }
> +
> + np = of_find_compatible_node(NULL, NULL, "mrvl,orion-sata");
> + if
Based on devicetree work by Michael Walle. Changed compatible property
to "mrvl,orion-sata".
Signed-off-by: Michael Walle
Signed-off-by: Jason Cooper
---
arch/arm/boot/dts/kirkwood-dreamplug.dts |7 +++
arch/arm/mach-kirkwood/board-dt.c|5 -
arch/arm/mach-kirkwood/commo