summaryrefslogtreecommitdiffstats
path: root/arch/x86/boards
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-29 11:35:50 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-01 16:33:09 +0800
commitc71a77ab878c3d9d14e91ea4fa5bd4ff8fe1c421 (patch)
treebaa9253468338c34d06d8ebdfc56aa1e7abae4ba /arch/x86/boards
parent3f59bab47cc40bb0b6076143cc2e6b96be396771 (diff)
downloadbarebox-c71a77ab878c3d9d14e91ea4fa5bd4ff8fe1c421.tar.gz
barebox-c71a77ab878c3d9d14e91ea4fa5bd4ff8fe1c421.tar.xz
ns16550: switch to resource
use generic read/write depending on the memory size if no reg_read/write defined Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/x86/boards')
-rw-r--r--arch/x86/boards/x86_generic/generic_pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boards/x86_generic/generic_pc.c b/arch/x86/boards/x86_generic/generic_pc.c
index b35d26ff9f..7a93d9bc31 100644
--- a/arch/x86/boards/x86_generic/generic_pc.c
+++ b/arch/x86/boards/x86_generic/generic_pc.c
@@ -85,7 +85,7 @@ static struct NS16550_plat serial_plat = {
static int pc_console_init(void)
{
/* Register the serial port */
- add_ns16550_device(-1, 0x3f8, 8, &serial_plat);
+ add_ns16550_device(-1, 0x3f8, 8, 0, &serial_plat);
return 0;
}