diff options
author | Juergen Kilb <J.Kilb@phytec.de> | 2011-09-09 14:10:56 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-12 12:31:20 +0200 |
commit | 3c68ddb583b4651d14758841f23d4cdcf4873285 (patch) | |
tree | 1697ffdc46e372693683aff607262f141ade867a /arch/arm/boards/panda/board.c | |
parent | e8d4f5a39372dcbe5be773799f7229024c918c40 (diff) | |
download | barebox-3c68ddb583b4651d14758841f23d4cdcf4873285.tar.gz barebox-3c68ddb583b4651d14758841f23d4cdcf4873285.tar.xz |
Corrected ns16550 access at all omap based boards.
Commit c71a77ab8 (ns16550: switch to resource) has introduced generic
read/write access to 16550 register and a 'shift' parameter to allign
register index to physicall registers.
The correct 'shift' value was missing in all omap based boards.
Corrected this to 2 which has fixed the problem.
Tested on a PCM-049 phyCORE-OMAP4 board.
Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Tested-by: Jan Weitzel <J.Weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/panda/board.c')
-rw-r--r-- | arch/arm/boards/panda/board.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c index 1303c47233..33ec144db4 100644 --- a/arch/arm/boards/panda/board.c +++ b/arch/arm/boards/panda/board.c @@ -32,6 +32,7 @@ static int board_revision; static struct NS16550_plat serial_plat = { .clock = 48000000, /* 48MHz (APLL96/2) */ + .shift = 2, }; static int panda_console_init(void) |