arm: imx25-pdk: Fix machine name
PATCH 1/1 arm: imx25-pdk: Fix machine name
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 <[email protected]>
Signed-off-by Peter Crosthwaite <[email protected]>
--- hw/arm/imx25_pdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/imx25_pdk.c +1 -1
@@ -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)
Signature · 1 line
1.9.1
Peter Maydell
AppliedQuoted 20 lines · Peter Crosthwaite
ARM uses dashes instead of underscores for machine names. Fix
imx25_pdkwhich has not seen a release yet (so there is no legacy yet).Cc Jean-Christophe Dubois <[email protected]>Signed-off-by Peter Crosthwaite <[email protected]>--- hw/arm/imx25_pdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/imx25_pdk.c +1
-2@@ -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) --
Quoted 2 lines
1.9.1
Applied to target-arm.next, thanks.
-- PMM
Quoted 19 lines · Peter Maydell
Quoted 17 lines · Peter Crosthwaite
ARM uses dashes instead of underscores for machine names. Fix
imx25_pdkwhich has not seen a release yet (so there is no legacy yet).Cc Jean-Christophe Dubois <[email protected]>Signed-off-by Peter Crosthwaite <[email protected]>--- hw/arm/imx25_pdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/imx25_pdk.c +0
-0@@ -151,4 +151,4 @@ static void imx25_pdk_machine_init(MachineClass *mc) mc->init = imx25_pdk_init; }
Quoted 4 lines
hw/arm/imx25_pdk.c static void imx25_pdk_machine_init(MachineClass *mc) · line 154
Quoted 2 lines
hw/arm/imx25_pdk.c +1
-1-DEFINE_MACHINE ("imx25_pdk" , imx25_pdk_machine_init) +DEFINE_MACHINE ("imx25-pdk" , imx25_pdk_machine_init)Applied to target-arm.next, thanks.
This patch breaks 'make check'. (tests/ds1338-test.c tries to start a machine "imx25_pdk" still). I have squashed in this fix:
tests/ds1338-test.c +1 -1
@@ -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 ;
thanks
-- PMM