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 <firstname.lastname@example.org>
Reviewed-by: Shawn Nematbakhsh <email@example.com>
Commit-Queue: Hung-Te Lin <firstname.lastname@example.org>
Reviewed-by: Randall Spangler <email@example.com>
1 file changed