mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-22 17:46:26 +00:00
a126229dff
Replace the GPLv2-or-later boilerplate with the SPDX tag. The SPDX tag on files *.c is incorrect, as it should use the C99 single line comment using '//'. But current checkpatch doesn't allow C99 comments, so keep using standard C comments, by now. Change-Id: I380d552940f1c405309a3346454251c0e80b5a45 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7159 Tested-by: jenkins
28 lines
805 B
C
28 lines
805 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/***************************************************************************
|
|
* Copyright (C) 2007 by Pavel Chromy *
|
|
* chromy@asix.cz *
|
|
***************************************************************************/
|
|
#ifndef OCL_H
|
|
#define OCL_H
|
|
|
|
/* command/response mask */
|
|
#define OCL_CMD_MASK 0xFFFF0000L
|
|
|
|
/* commands */
|
|
#define OCL_FLASH_BLOCK 0x0CFB0000L
|
|
#define OCL_ERASE_BLOCK 0x0CEB0000L
|
|
#define OCL_ERASE_ALL 0x0CEA0000L
|
|
#define OCL_PROBE 0x0CBE0000L
|
|
|
|
/* responses */
|
|
#define OCL_CMD_DONE 0x0ACD0000L
|
|
#define OCL_CMD_ERR 0x0ACE0000L
|
|
#define OCL_CHKS_FAIL 0x0ACF0000L
|
|
#define OCL_BUFF_OVER 0x0AB00000L
|
|
|
|
#define OCL_CHKS_INIT 0xC100CD0CL
|
|
|
|
#endif /* OCL_H */
|