projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e598a9c
)
e500: Fix serial initialization
author
Bharat Bhushan
<r65777@freescale.com>
Mon, 8 Oct 2012 06:46:54 +0000
(06:46 +0000)
committer
Alexander Graf
<agraf@suse.de>
Mon, 29 Oct 2012 10:45:54 +0000
(11:45 +0100)
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>
hw/ppc/e500.c
patch
|
blob
|
history
diff --git
a/hw/ppc/e500.c
b/hw/ppc/e500.c
index d655e3f46f8ac969bb81ba91c620aee49ece9d23..90d88ebc74a2822633fa1d14ddc41d692a189c2e 100644
(file)
--- 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 */