9
0
Fork 0

[pm9263] use define rather than plain integer value for armlinux_set_architecture

armlinux_set_architecture uses a plain integer value, this patch changes this
to use the define from mach-types.h

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2008-10-27 12:02:59 +01:00
parent 702ebd5f96
commit 238b05148e
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ static int pm9263_devices_init(void)
dev_add_partition(&cfi_dev, 0x40000, 0x10000, PARTITION_FIXED, "env");
armlinux_set_bootparams((void *)0x20000100);
armlinux_set_architecture(0x5c3);
armlinux_set_architecture(MACH_TYPE_PM9263);
return 0;
}