aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBharat Bhushan <r65777@freescale.com>2012-10-08 06:46:54 +0000
committerAlexander Graf <agraf@suse.de>2012-10-29 11:45:54 +0100
commit59de4f98d14fb84f04181a6f816ef6dd8b82dd79 (patch)
tree0a3a9e13264286df56122eb7feced1e4f37ae7ad /hw
parente598a9c56badd00eaa732c4e0e69def4e5e6614b (diff)
e500: Fix serial initialization
it was wrongly using serial_hds[0] instead of serial_hds[1] Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc/e500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index d655e3f46f..90d88ebc74 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -496,7 +496,7 @@ void ppce500_init(PPCE500Params *params)
if (serial_hds[1]) {
serial_mm_init(address_space_mem, MPC8544_SERIAL1_REGS_BASE,
0, mpic[12+26], 399193,
- serial_hds[0], DEVICE_BIG_ENDIAN);
+ serial_hds[1], DEVICE_BIG_ENDIAN);
}
/* General Utility device */