stm32: flash: pull set_ws up to common code

All that changes is the size of the field.
This commit is contained in:
Karl Palsson
2018-07-13 23:33:16 +00:00
parent 4840b6bc7e
commit 2bf7eb4a0c
11 changed files with 25 additions and 101 deletions

View File

@@ -80,6 +80,7 @@
#define FLASH_ACR_ARTEN (1 << 9)
#define FLASH_ACR_PRFTEN (1 << 8)
#define FLASH_ACR_LATENCY_SHIFT 0
#define FLASH_ACR_LATENCY_MASK 0x0f
/* --- FLASH_SR values ----------------------------------------------------- */