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-08-19 11:34:46 +00:00
2013-04-14 14:49:57 +02:00
2013-04-14 14:49:57 +02:00
2013-04-14 14:49:57 +02:00
2013-04-14 14:49:57 +02:00
2013-04-14 14:49:57 +02:00