summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/coldfire/debug-coldfire.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/debug-coldfire.c b/firmware/target/coldfire/debug-coldfire.c
index 249c0a75ab..ef44a82176 100644
--- a/firmware/target/coldfire/debug-coldfire.c
+++ b/firmware/target/coldfire/debug-coldfire.c
@@ -50,6 +50,11 @@
50#elif (CONFIG_KEYPAD == MPIO_HD300_PAD) 50#elif (CONFIG_KEYPAD == MPIO_HD300_PAD)
51# define DEBUG_CANCEL BUTTON_MENU 51# define DEBUG_CANCEL BUTTON_MENU
52#endif 52#endif
53
54/* dbg_flash_id() hits address 0, which is nominally illegal. Make sure
55 GCC doesn't helpfully turn this into an exception.
56 */
57#pragma GCC optimize "no-delete-null-pointer-checks"
53/* Tool function to read the flash manufacturer and type, if available. 58/* Tool function to read the flash manufacturer and type, if available.
54 Only chips which could be reprogrammed in system will return values. 59 Only chips which could be reprogrammed in system will return values.
55 (The mode switch addresses vary between flash manufacturers, hence addr1/2) */ 60 (The mode switch addresses vary between flash manufacturers, hence addr1/2) */