contrib: replace the GPLv2-or-later license tag
[fw/openocd] / contrib / loaders / flash / at91sam7x / ocl.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4  *   Copyright (C) 2007 by Pavel Chromy                                    *
5  *   chromy@asix.cz                                                        *
6  ***************************************************************************/
7 #ifndef OCL_H
8 #define OCL_H
9
10 /* command/response mask */
11 #define OCL_CMD_MASK 0xFFFF0000L
12
13 /* commands */
14 #define OCL_FLASH_BLOCK 0x0CFB0000L
15 #define OCL_ERASE_BLOCK 0x0CEB0000L
16 #define OCL_ERASE_ALL 0x0CEA0000L
17 #define OCL_PROBE 0x0CBE0000L
18
19 /* responses */
20 #define OCL_CMD_DONE 0x0ACD0000L
21 #define OCL_CMD_ERR 0x0ACE0000L
22 #define OCL_CHKS_FAIL 0x0ACF0000L
23 #define OCL_BUFF_OVER 0x0AB00000L
24
25 #define OCL_CHKS_INIT 0xC100CD0CL
26
27 #endif /* OCL_H */