Support for expanded NAND by roblâbla

This commit is contained in:
xHR 2019-03-05 19:55:05 +02:00 committed by GitHub
parent a38927ec04
commit 9bac6e4519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,7 +316,7 @@ int nxfs_mount_all(void) {
model = g_mmc_devpart_template; model = g_mmc_devpart_template;
model.device_struct = &g_emmc_user_mmcpart; model.device_struct = &g_emmc_user_mmcpart;
model.start_sector = 0; model.start_sector = 0;
model.num_sectors = (32ull << 30) / model.sector_size; model.num_sectors = (256ull << 30) / model.sector_size;
rc = rawdev_mount_device("rawnand", &model, false); rc = rawdev_mount_device("rawnand", &model, false);