Merge pull request #4 from mecparts/master

ATF16V8B chips would program & read w/o error, but they wouldn't work
This commit is contained in:
ole00 2020-05-25 09:45:53 +01:00 committed by GitHub
commit 08d59a089e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1014,9 +1014,9 @@ static void readOrVerifyGal(char verify)
case ATF16V8B: case ATF16V8B:
//read without delay, no discard //read without delay, no discard
if (verify) { if (verify) {
i = verifyGalFuseMap(cfgV8, 0, 0); i = verifyGalFuseMap(cfgV8AB, 0, 0);
} else { } else {
readGalFuseMap(cfgV8, 0, 0); readGalFuseMap(cfgV8AB, 0, 0);
} }
break; break;
@ -1157,7 +1157,7 @@ static void writeGal()
break; break;
case ATF16V8B: case ATF16V8B:
writeGalFuseMapV8(cfgV8); writeGalFuseMapV8(cfgV8AB);
break; break;
case GAL22V10: case GAL22V10: