summaryrefslogtreecommitdiff
path: root/chip/lm4/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/config_chip.h')
-rw-r--r--chip/lm4/config_chip.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chip/lm4/config_chip.h b/chip/lm4/config_chip.h
index 004d98b09a..9fbda8d970 100644
--- a/chip/lm4/config_chip.h
+++ b/chip/lm4/config_chip.h
@@ -97,6 +97,17 @@
#define CONFIG_FW_WP_RO_SIZE CONFIG_FW_RO_SIZE
/****************************************************************************/
+/* Lock the boot configuration to prevent brickage. */
+
+/*
+ * No GPIO trigger for ROM bootloader.
+ * Keep JTAG debugging enabled.
+ * Use 0xA442 flash write key.
+ * Lock it this way.
+ */
+#define CONFIG_BOOTCFG_VALUE 0x7ffffffe
+
+/****************************************************************************/
/* Customize the build */
/* Optional features present on this chip */