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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/lm4/config_chip.h b/chip/lm4/config_chip.h
index fd7c0cd2c3..bae83e23f7 100644
--- a/chip/lm4/config_chip.h
+++ b/chip/lm4/config_chip.h
@@ -69,6 +69,14 @@
/****************************************************************************/
/* Define our flash layout. */
+/* Memory-mapped internal flash */
+#define CONFIG_INTERNAL_STORAGE
+#define CONFIG_MAPPED_STORAGE
+
+/* Program is run directly from storage */
+#define CONFIG_MAPPED_STORAGE_BASE CONFIG_PROGRAM_MEMORY_BASE
+
+/* Compute the rest of the flash params from these */
#include "config_std_internal_flash.h"
/****************************************************************************/