]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] Orion: PCIe x4/x1 detection support
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 22 Jun 2008 20:45:09 +0000 (22:45 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 22 Jun 2008 20:45:09 +0000 (22:45 +0200)
commita9311cfed241ebcd6b5f9be5c8c6d519bf22f9e7
treee8d8fdf57be1e05dfb78005e71e4f62a109633c5
parent0a17c7bc0b81e4556eea08c7e27923e5534d3c25
[ARM] Orion: PCIe x4/x1 detection support

The Discovery Duo (MV78xx0) has two x4 PCIe ports which can either
be used in x4 mode or in quad x1 mode.  This patch adds an accessor
function to the generic plat-orion PCIe handling code to detect in
which of the two modes we're running (which is determined by strap
pins and/or configured by the bootloader).

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
arch/arm/plat-orion/pcie.c
include/asm-arm/plat-orion/pcie.h