]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/mps2_scc: fix incorrect properties
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 29 Jul 2017 23:49:30 +0000 (20:49 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 31 Jul 2017 12:11:56 +0000 (13:11 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170729234930.725-1-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/mps2-scc.c

index cc58d26f299abe4a9eef7fef107d6d76297d4b41..32be2a9df125f4fe0128d1848090b084295f32fb 100644 (file)
@@ -270,9 +270,9 @@ static Property mps2_scc_properties[] = {
     /* Values for various read-only ID registers (which are specific
      * to the board model or FPGA image)
      */
-    DEFINE_PROP_UINT32("scc-cfg4", MPS2SCC, aid, 0),
+    DEFINE_PROP_UINT32("scc-cfg4", MPS2SCC, cfg4, 0),
     DEFINE_PROP_UINT32("scc-aid", MPS2SCC, aid, 0),
-    DEFINE_PROP_UINT32("scc-id", MPS2SCC, aid, 0),
+    DEFINE_PROP_UINT32("scc-id", MPS2SCC, id, 0),
     /* These are the initial settings for the source clocks on the board.
      * In hardware they can be configured via a config file read by the
      * motherboard configuration controller to suit the FPGA image.