set_gbb_flags: Aborts only if HW & SW WP are both enabled.
Early proto devices (for testers and developers) may have hardware write
protection enabled and software disabled. They can still flash SPI ROM in that
case, and no need to disable hardware WP switch.
TEST=./set_gbb_flags.sh 0x39 # see WP messages.
Tested-by: Hung-Te Lin <email@example.com>
Reviewed-by: Shawn Nematbakhsh <firstname.lastname@example.org>
Commit-Queue: Hung-Te Lin <email@example.com>
Reviewed-by: Randall Spangler <firstname.lastname@example.org>
1 file changed