[PATCH v1 4/7] write WPEN bit for SST26* devices when locking

2021-01-28 Thread Bernhard Kirchen
"sf protect lock" did only protect against accidental writes by software. it did not lock down the config or block-protection registers if the WP# pin was deasserted. hardware write protection was never enabled for these devices. this change implements setting the WPEN bit and clearing the IOC bit

[PATCH v1 4/7] write WPEN bit for SST26* devices when locking

2021-01-28 Thread Bernhard Kirchen
"sf protect lock" did only protect against accidental writes by software. it did not lock down the config or block-protection registers if the WP# pin was deasserted. hardware write protection was never enabled for these devices. this change implements setting the WPEN bit and clearing the IOC bit

Re: [PATCH v1 4/7] write WPEN bit for SST26* devices when locking

2021-02-26 Thread Jagan Teki
On Thu, Jan 28, 2021 at 9:59 PM Bernhard Kirchen wrote: > > "sf protect lock" did only protect against accidental writes by > software. it did not lock down the config or block-protection registers > if the WP# pin was deasserted. hardware write protection was never > enabled for these devices. >