serial: bfin_5xx: move resources into board files
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 9 Sep 2009 10:46:19 +0000 (10:46 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:11 +0000 (07:18 -0500)
commit57afb399350b45c0067f4979ce9f0c754239b048
tree8dc43f8df53b016621a6bc9f43b5761858dfe6d0
parent94a038c2e6228727ae0549af75e97b9b634cd468
serial: bfin_5xx: move resources into board files

Rather than maintain Kconfig entries where people have to enter raw
numbers and hardcode lists of addresses/pins in the driver itself,
push it all to platform resources.  This lets us simplify the driver,
the Kconfig, and gives board porters greater flexibility.

In the process, we need to also start supporting the early platform
interface.  Not a big deal, but it causes the patch to be bigger than
a simple resource relocation.

All the Blackfin boards already have their resources updated and in
place for this change.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/bfin_serial.h
drivers/serial/Kconfig
drivers/serial/bfin_5xx.c