[ARM] 5541/1: serial/amba-pl011.c: add support for the modified port found in Nomadik
authorAlessandro Rubini <rubini@gnudd.com>
Thu, 4 Jun 2009 16:43:04 +0000 (17:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Jun 2009 16:45:30 +0000 (17:45 +0100)
commit5926a295bb78272b3f648f62febecd19a1b6a6ca
tree2fd581d08c58b571a0fb3e3866c6eae9f22db69b
parentc7f7ff179cb9f2f1e0244ef2c80afbb93c74ce2a
[ARM] 5541/1: serial/amba-pl011.c: add support for the modified port found in Nomadik

The Nomadik 8815 SoC has a slightly modified version of the PL011 block.
The patch uses the different ID value as a key to select a vendor
structure that is used to keep track of the differences, as suggested
by Russell King.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl011.c
include/linux/amba/serial.h