summaryrefslogtreecommitdiffstats
path: root/oncology/dpfhack_display/include/flash.h
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-08-31 12:52:15 +0200
committerEUcancER <root@euer.krebsco.de>2011-08-31 12:52:15 +0200
commita2e4ac21444fd9af436039ba921e809cfca59ea2 (patch)
treee12c692527bc9b2b373cf0a4956f0ff458045cd7 /oncology/dpfhack_display/include/flash.h
parentefe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff)
parentcf46dbc53b36772fb0461b9451337c118e705c55 (diff)
Gigantor Merge!
Conflicts: cholerab/news/Candidate - add Ante scriptum cholerab/shirts/bestellliste - merged as theirs oncology/dpfhack_display - now a submodule add bug-fixing for adv_graphgen, as well as a Makefile
Diffstat (limited to 'oncology/dpfhack_display/include/flash.h')
-rw-r--r--oncology/dpfhack_display/include/flash.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/oncology/dpfhack_display/include/flash.h b/oncology/dpfhack_display/include/flash.h
deleted file mode 100644
index f753bd59..00000000
--- a/oncology/dpfhack_display/include/flash.h
+++ /dev/null
@@ -1,19 +0,0 @@
-// SPI STM flash commands:
-// stolen from BFloader
-
-#define SPM_RDID 0x9f // Read ID
-#define SPM_WREN 0x06 // Write enable
-#define SPM_WRDI 0x04 // Write disable
-#define SPM_RDSR 0x05 // Read status register
-#define SPM_WRSR 0x01 // Write status register
-#define SPM_READ 0x03 // Read data bytes
-#define SPM_PP 0x02 // Page program
-#define SPM_DP 0xb9 // Deep power down
-#define SPM_RES 0xab // Release from deep power down
- // and read signature
-#define SPM_FLASH_SE 0xd8 // Sector erase
-#define SPM_FLASH_BE 0xc7 // Bulk erase
-#define SPM_FLASH_FAST_READ 0x0B // Read data bytes fast
-
-#define SPM_SR_SRWD 0x80 // SR write protection (HW)
-