]> Git Repo - qemu.git/commitdiff
e500: Fix serial initialization
authorBharat Bhushan <[email protected]>
Mon, 8 Oct 2012 06:46:54 +0000 (06:46 +0000)
committerAlexander Graf <[email protected]>
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 <[email protected]>
Reviewed-by: Andreas Färber <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/ppc/e500.c

index d655e3f46f8ac969bb81ba91c620aee49ece9d23..90d88ebc74a2822633fa1d14ddc41d692a189c2e 100644 (file)
@@ -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 */
This page took 0.028389 seconds and 4 git commands to generate.