diff options
author | Bharat Bhushan <r65777@freescale.com> | 2012-10-08 06:46:54 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-29 11:45:54 +0100 |
commit | 59de4f98d14fb84f04181a6f816ef6dd8b82dd79 (patch) | |
tree | 0a3a9e13264286df56122eb7feced1e4f37ae7ad /hw/ppc/e500.c | |
parent | e598a9c56badd00eaa732c4e0e69def4e5e6614b (diff) | |
download | qemu-59de4f98d14fb84f04181a6f816ef6dd8b82dd79.zip qemu-59de4f98d14fb84f04181a6f816ef6dd8b82dd79.tar.gz qemu-59de4f98d14fb84f04181a6f816ef6dd8b82dd79.tar.bz2 |
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/ppc/e500.c')
-rw-r--r-- | hw/ppc/e500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index d655e3f..90d88eb 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 */ |