发布时间:2016-09-17 16:12:17
//////////////////////drivers/mtd/nand/s3c_nand.cmodule_init(s3c_nand_init);//模块初始化static int __init s3c_nand_init(void){ printk("S3C NAND Driver, (c) 2008 Samsung Electronics\n"); platform_driver_register(&s3c6400_nand_driver); .........【阅读全文】
发布时间:2016-09-17 15:31:09
参考http://blog.csdn.net/zrm2012/article/details/51840557 MTD设备层:mtd字符设备接口:/drivers/mtd/mtdchar.c文件实现了MTD字符设备接口,通过它,可以直接访问Flash设备,与前面的字符驱动一样,通过file_operations结构体里面的open()、read()、write()、ioctl()可以读写Flash,通过一系列IOCTL 命令可.........【阅读全文】
发布时间:2016-09-17 15:30:27
//////////////////////include/linux/mtd/partitions.h/* * Partition definition structure: * * An array of struct partition is passed along with a MTD object to * add_mtd_partitions() to create them. * * For each partition, these fields are available: * name:.........【阅读全文】
发布时间:2016-09-17 12:25:37
//////////////////arch/arm/mach-s3c6410/mach-smdk6410.c MACHINE_START(SMDK6410, "SMDK6410") /* Maintainer: Ben Dooks */ .phys_io = S3C_PA_UART & 0xfff00000, .io_pg_offst = (((u32)S3C_VA_UART.........【阅读全文】