summaryrefslogtreecommitdiff
path: root/chip/stm32/flash-f.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/flash-f.h')
-rw-r--r--chip/stm32/flash-f.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chip/stm32/flash-f.h b/chip/stm32/flash-f.h
index 53892655c8..8d2b8e1fae 100644
--- a/chip/stm32/flash-f.h
+++ b/chip/stm32/flash-f.h
@@ -66,6 +66,9 @@ void lock_flash_option_bytes(void);
/**
* Disable the flash option bytes register.
*
+ * This function expects that bus faults have not already been ignored when
+ * called.
+ *
* Once this function is called any attempt at accessing the flash option
* bytes register will generate a bus fault until the next reset.
*
@@ -76,6 +79,9 @@ void disable_flash_option_bytes(void);
/**
* Disable the flash control register.
*
+ * This function expects that bus faults have not already been ignored when
+ * called.
+ *
* Once this function is called any attempt at accessing the flash control
* register will generate a bus fault until the next reset.
*