static void __init s3c64xx_dt_map_io(void) { debug_ll_io_init(); iotable_init(s3c64xx_dt_iodesc, ARRAY_SIZE(s3c64xx_dt_iodesc)); s3c64xx_init_cpu(); if (!soc_is_s3c64xx()) panic("SoC is not S3C64xx!"); }
void __init s3c64xx_init_io(struct map_desc *mach_desc, int size) { /* initialise the io descriptors we need for initialisation */ iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc)); iotable_init(mach_desc, size); /* detect cpu id */ s3c64xx_init_cpu(); s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); }