summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-05-24 18:44:04 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-05-24 18:44:04 +0100
commit5d5f6ae4181bcb4b010d39ec114fa375751dc01e (patch)
tree4ff80f40d87682a5221a2c3c9022fa844eaac2f5
parent98f075af24dc60a5179511db7b84dbb62d8d80a1 (diff)
downloadfmk-5d5f6ae4181bcb4b010d39ec114fa375751dc01e.tar.gz
fmk-5d5f6ae4181bcb4b010d39ec114fa375751dc01e.tar.xz
fmk-5d5f6ae4181bcb4b010d39ec114fa375751dc01e.zip
flashconf: cleaner look
-rw-r--r--flashconf.s11
1 files changed, 10 insertions, 1 deletions
diff --git a/flashconf.s b/flashconf.s
index 9a82db2..b054beb 100644
--- a/flashconf.s
+++ b/flashconf.s
@@ -1,6 +1,15 @@
.syntax unified
.section ".flashconfig"
+// Backdoor Comparison Key
.long 0xFFFFFFFF
.long 0xFFFFFFFF
+// Program flash protection bytes. (FPROT0-3)
.long 0xFFFFFFFF
-.long 0xFFFFFFFE
+// Data flash protection byte. (FDPROT)
+.byte 0xFE
+// EEPROM protection byte. (FEPROT)
+.byte 0xFF
+// Flash nonvolatile option byte. (FOPT)
+.byte 0xFF
+// Flash security byte. (FSEC)
+.byte 0xFF