Replace NAND by eMMC

Using NAND doens't really make sense
This commit is contained in:
Benoit7413 2018-06-26 08:49:50 +02:00 committed by GitHub
parent 4eadeb021b
commit 0f6d4baa8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ void nxboot_main(void) {
#ifdef I_KNOW_WHAT_IM_DOING_2 #ifdef I_KNOW_WHAT_IM_DOING_2
pk2file = fopen("bcpkg21:/", "rb"); pk2file = fopen("bcpkg21:/", "rb");
if (pk2file == NULL || fseek(pk2file, 0x4000, SEEK_SET) != 0) { if (pk2file == NULL || fseek(pk2file, 0x4000, SEEK_SET) != 0) {
printf("Error: Failed to open Package2 from NAND: %s!\n", strerror(errno)); printf("Error: Failed to open Package2 from eMMC: %s!\n", strerror(errno));
fclose(pk2file); fclose(pk2file);
generic_panic(); generic_panic();
} }