]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3414/1: ep93xx: reset ethernet controller before uncompressing
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 26 Mar 2006 20:40:27 +0000 (21:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 26 Mar 2006 20:40:27 +0000 (21:40 +0100)
commitc9b4470e2d9d611181fe488fdf463948d8b24901
tree5f74c641d602d2f3aa68f9fa3795a46ebb0fbe08
parent36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91
[ARM] 3414/1: ep93xx: reset ethernet controller before uncompressing

Patch from Lennert Buytenhek

The Redboot version that cirrus supplies for the cirrus ep93xx doesn't
turn off DMA from the ethernet MAC before jumping to linux, which means
that we might end up with bits of RX status and packet data scribbled
over the uncompressed kernel image.

Work around this by resetting the ethernet MAC before we uncompress.

We don't usually work around bootloader bugs, but considering that the
large majority of ep93xx boards out there have this problem, I figured
this it was justified in this case.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ep93xx/uncompress.h