SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
GPIO-52 autorequested
GPIO-33 autorequested
LCD GPIOS set over
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
SCSI subsystem initialized
在此处开始Initial arch,也就说plat下的gpiolib.c,中arch_initcall(s3c64xx_gpiolib_init),在此处才会被调用。
注意和core_initcall(s3c6410_core_init);的不同。
与module_init(bdctl_init);
这里将其移动到:
static void __init smdk6410_map_io(void)
{
s3c_device_nand.name = "s3c6410-nand";
s3c64xx_init_io(smdk6410_iodesc, ARRAY_SIZE(smdk6410_iodesc));
#if 1 //tmp by zhangq
s3c64xx_gpiolib_init();
#endif
s3c24xx_init_clocks(12000000);
s3c24xx_init_uarts(smdk6410_uartcfgs, ARRAY_SIZE(smdk6410_uartcfgs));
s3c64xx_reserve_bootmem();
}