]> git.sur5r.net Git - u-boot/commit
arch-kirkwood: Ethernet port macro returning incorrect address
authorLuke Lowrey <luke@chamsys.co.uk>
Mon, 25 Jun 2012 06:37:09 +0000 (06:37 +0000)
committerPrafulla Wadaskar <prafulla@marvell.com>
Tue, 8 Jan 2013 22:42:11 +0000 (04:12 +0530)
commit3e75e69668bd5be89aad835f1e990badf921f2e4
treec7eb10cba072197c610dc907c9f218f85c986c11
parent23c9946a3bfc23e3ede8995437d6b0e3b7b1335c
arch-kirkwood: Ethernet port macro returning incorrect address

Modified the arch-kirkwood header so KWGBE_PORT_SERIAL_CONTROL1_REG(x)
returns the correct address.

Originally calling KWGBE_PORT_SERIAL_CONTROL1_REG(1) returned the
address for port 0 and vice versa.

Doesn't have any knock on effects to the u-boot code as the only
time they're used is to do the same function to both addresses

Signed-off-by: Luke Lowrey <luke@chamsys.co.uk>
Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>
Acked-by: Heiko Schocher <hs@denx.de>
arch/arm/include/asm/arch-kirkwood/cpu.h