On Tuesday 31 July 2012, Cyril Chemparathy wrote:Texas Instruments Keystone family of multicore devices now includes an
upcoming slew of Cortex A15 based devices. This patch adds basic definitions
for a new Keystone sub-architecture in ARM.
Subsequent patches in this series will extend support to include SMP and take
advantage of the large physical memory addressing capabilities via LPAE.
Signed-off-by: Vitaly Andrianov <vitalya@xxxxxx>
Signed-off-by: Cyril Chemparathy <cyril@xxxxxx>
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
And some nitpicking:+
+ chosen {
+ bootargs = "console=ttyS0,115200n8 debug earlyprintk lpj=50000 rdinit=/bin/ash rw root=/dev/ram0 initrd=0x85000000,9M";
+ };
This command line should not really be here. Most of what you put in it is not
generic to the platform at all.
In order to select the console, use an alias for the serial device.
+
+static void __init keystone_map_io(void)
+{
+ iotable_init(io_desc, sizeof(io_desc)/sizeof(struct map_desc));
+}
Use the ARRAY_SIZE macro here.
Arnd