]> git.proxmox.com Git - mirror_qemu.git/commitdiff
arm: imx25-pdk: Fix machine name
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Fri, 16 Oct 2015 10:14:53 +0000 (11:14 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Oct 2015 10:14:53 +0000 (11:14 +0100)
ARM uses dashes instead of underscores for machine names. Fix imx25_pdk
which has not seen a release yet (so there is no legacy yet).

Cc: Jean-Christophe Dubois <jcd@tribudubois.net>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-id: 1444445785-3648-1-git-send-email-crosthwaite.peter@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: Added change to tests/ds1338-test.c to use new machine name]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/imx25_pdk.c
tests/ds1338-test.c

index 425011475a9c5702a868bfa53e527e361f9debf2..59a4c1127764c82d21e0338b7949a5df02768055 100644 (file)
@@ -151,4 +151,4 @@ static void imx25_pdk_machine_init(MachineClass *mc)
     mc->init = imx25_pdk_init;
 }
 
-DEFINE_MACHINE("imx25_pdk", imx25_pdk_machine_init)
+DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init)
index a7fb415353a5d1b1f4e4f4cb2b62f808e6d8195a..7d513d89724c273fba27621ff0479953d980f09d 100644 (file)
@@ -61,7 +61,7 @@ int main(int argc, char **argv)
 
     g_test_init(&argc, &argv, NULL);
 
-    s = qtest_start("-display none -machine imx25_pdk");
+    s = qtest_start("-display none -machine imx25-pdk");
     i2c = imx_i2c_create(IMX25_I2C_0_BASE);
     addr = DS1338_ADDR;