Erase FIPS partition on GS101 devices
This commit is contained in:
parent
408ace9b87
commit
5b46fb8036
@ -144,6 +144,8 @@ const supportedDevices = ["raven", "oriole", "barbet", "redfin", "bramble", "sun
|
||||
|
||||
const qualcommDevices = ["barbet", "redfin", "bramble", "sunfish", "coral", "flame", "bonito", "sargo", "crosshatch", "blueline"];
|
||||
|
||||
const gs101Devices = ["raven", "oriole"];
|
||||
|
||||
async function getLatestRelease() {
|
||||
let product = await device.getVariable("product");
|
||||
if (!supportedDevices.includes(product)) {
|
||||
@ -229,6 +231,10 @@ async function flashRelease(setProgress) {
|
||||
await device.runCommand("erase:apdp_a");
|
||||
await device.runCommand("erase:apdp_b");
|
||||
}
|
||||
if (gs101Devices.includes(product)) {
|
||||
setProgress("Disabling FIPS...");
|
||||
await device.runCommand("erase:fips");
|
||||
}
|
||||
} finally {
|
||||
safeToLeave = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user