Remove useless sdmmc code (we do not need NAND init/read from loader, or write at all

This commit is contained in:
Aurora
2016-04-18 18:29:37 +02:00
parent 08808da741
commit fd4352a1d6
4 changed files with 14 additions and 147 deletions

View File

@@ -118,11 +118,12 @@ typedef struct mmcdevice {
u32 res;
} mmcdevice;
int sdmmc_sdcard_init();
mmcdevice *getMMCDevice(int drive);
void sdmmc_sdcard_init();
u32 sdmmc_sdcard_readsectors(u32 sector_no, u32 numsectors, vu8 *out);
u32 sdmmc_sdcard_writesectors(u32 sector_no, u32 numsectors, vu8 *in);
mmcdevice *getMMCDevice(int drive);
int sdmmc_get_cid( int isNand, uint32_t *info);
u32 sdmmc_nand_readsectors(u32 sector_no, u32 numsectors, vu8 *out);
u32 sdmmc_nand_writesectors(u32 sector_no, u32 numsectors, vu8 *in);
int sdmmc_get_cid( int isNand, uint32_t *info);