Karl Palsson 950e064885 stm32l1: flash: avoid duplicate calls to unlock_pecr
Attempts to helpfully unlock PECR when required in unlock_progmem and
unlock_option_bytes actually cause a bus error due to repeated unlocks,
as per ref manual and tedious experience.  The better tested eeprom helper
routines unlock/lock in chunks, but that's not applicable for flash
writing.

Fixes: cf5fb002f6016242fb23b81fcbe98ee022bb84e9
2016-12-19 11:36:20 +00:00
..
2016-03-08 08:52:54 -08:00
2016-08-18 22:08:58 +00:00
2016-08-18 22:08:58 +00:00
2016-11-21 17:27:43 +00:00