summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-stm32f4
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/arch-stm32f4')
-rw-r--r--arch/arm/include/asm/arch-stm32f4/stm32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-stm32f4/stm32.h b/arch/arm/include/asm/arch-stm32f4/stm32.h
index 3ed3801..7ca6dc3 100644
--- a/arch/arm/include/asm/arch-stm32f4/stm32.h
+++ b/arch/arm/include/asm/arch-stm32f4/stm32.h
@@ -104,6 +104,7 @@ struct stm32_flash_regs {
#define STM32_FLASH_CR_STRT (1 << 16)
#define STM32_FLASH_CR_LOCK (1 << 31)
#define STM32_FLASH_CR_SNB_OFFSET 3
+#define STM32_FLASH_CR_SNB_MASK (15 << STM32_FLASH_CR_SNB_OFFSET)
enum clock {
CLOCK_CORE,