]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac57d62b572f1424707051465f81233f65e00c33
tree8dc43f8df53b016621a6bc9f43b5761858dfe6d0
parentf2da3a9c07c100111b9fe59fd6af4e8d2fe46976
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