target: consolidate existing target/algo common_magic
Unify common_magic type to unsigned int Move common_magic to be the first member of the struct Add unsigned specifier to xxx_COMMON_MAGIC #defines Change-Id: If961d33232698529514ba3720e04418baf6dc6fe Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/6996 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@
|
||||
#include "arc_cmd.h"
|
||||
#include "arc_mem.h"
|
||||
|
||||
#define ARC_COMMON_MAGIC 0xB32EB324 /* just a unique number */
|
||||
#define ARC_COMMON_MAGIC 0xB32EB324U /* just a unique number */
|
||||
|
||||
#define AUX_DEBUG_REG 0x5
|
||||
#define AUX_PC_REG 0x6
|
||||
@@ -183,7 +183,7 @@ struct arc_actionpoint {
|
||||
};
|
||||
|
||||
struct arc_common {
|
||||
uint32_t common_magic;
|
||||
unsigned int common_magic;
|
||||
|
||||
struct arc_jtag jtag_info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user