void __init s3c6400_map_io(void) { /* setup SDHCI */ s3c6400_default_sdhci0(); s3c6400_default_sdhci1(); s3c6400_default_sdhci2(); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_device_nand.name = "s3c6400-nand"; s3c_onenand_setname("s3c6400-onenand"); s3c64xx_onenand1_setname("s3c6400-onenand"); }
//#include <plat/cpu.h> //#include <plat/devs.h> //#include <plat/clock.h> //#include <plat/sdhci.h> //#include <plat/iic-core.h> //#include <plat/adc.h> //#include <plat/onenand-core.h> //#include <mach/s3c6400.h> //#include <mach/s3c6410.h> //=================被CPUl.c调用=================================================================== void __init s3c6410_map_io(void) { /* initialise device information early */ s3c6410_default_sdhci0(); s3c6410_default_sdhci1(); s3c6410_default_sdhci2(); /* the i2c devices are directly compatible with s3c2440 */ s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_device_adc.name = "s3c64xx-adc"; s3c_device_nand.name = "s3c6400-nand"; s3c_onenand_setname("s3c6410-onenand"); s3c64xx_onenand1_setname("s3c6410-onenand"); }
void __init s3c6400_map_io(void) { s3c6400_default_sdhci0(); s3c6400_default_sdhci1(); s3c6400_default_sdhci2(); s3c_i2c0_setname("s3c2440-i2c"); s3c_device_nand.name = "s3c6400-nand"; s3c_onenand_setname("s3c6400-onenand"); s3c64xx_onenand1_setname("s3c6400-onenand"); }