flash: New Spansion FM4 flash driver
[openocd.git] / contrib / loaders / flash / fm4 / fm4.h
blob603aac87621bb21caf02cc764aab8eb887972b79
1 /*
2 * Spansion FM4 flash macros
4 * Copyright (c) 2015 Andreas Färber
6 * Based on S6E2CC_MN709-00007 for S6E2CC/C5/C4/C3/C2/C1 series
7 */
9 .text
10 .syntax unified
11 .cpu cortex-m4
12 .thumb
13 .thumb_func
16 #define FLASH_DPOL (1 << 7)
17 #define FLASH_TOGG (1 << 6)
18 #define FLASH_TLOV (1 << 5)
19 #define FLASH_TOGG2 (1 << 2)