spi_flash: implement mmap/munmap

This commit is contained in:
Ivan Grokhotkov
2016-10-19 17:17:24 +08:00
parent 54ca573ce4
commit 42068c3b36
4 changed files with 275 additions and 0 deletions

View File

@@ -3830,6 +3830,11 @@
#define DPORT_DATE_S 0
#define DPORT_DPORT_DATE_VERSION 0x1605190
/* Flash MMU table for PRO CPU */
#define DPORT_PRO_FLASH_MMU_TABLE ((volatile uint32_t*) 0x3FF10000)
/* Flash MMU table for APP CPU */
#define DPORT_APP_FLASH_MMU_TABLE ((volatile uint32_t*) 0x3FF12000)