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=./ 0x39 # see WP messages.

Change-Id: Id320410795a162a009b80360c2225c7510337591
Tested-by: Hung-Te Lin <>
Reviewed-by: Shawn Nematbakhsh <>
Commit-Queue: Hung-Te Lin <>
Reviewed-by: Randall Spangler <>
1 file changed