summaryrefslogtreecommitdiff
path: root/utils/regtools/lib/soc_desc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/lib/soc_desc.hpp')
-rw-r--r--utils/regtools/lib/soc_desc.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/regtools/lib/soc_desc.hpp b/utils/regtools/lib/soc_desc.hpp
index d9dbf0cc20..4aa8c975ac 100644
--- a/utils/regtools/lib/soc_desc.hpp
+++ b/utils/regtools/lib/soc_desc.hpp
@@ -45,6 +45,14 @@
45 * ignores the position of the WORD_LENGTH field in the register. 45 * ignores the position of the WORD_LENGTH field in the register.
46 */ 46 */
47 47
48#define SOCDESC_VERSION_MAJOR 1
49#define SOCDESC_VERSION_MINOR 1
50#define SOCDESC_VERSION_REV 0
51
52#define SOCDESC_VERSION__(maj,min,rev) #maj"."#min"."#rev
53#define SOCDESC_VERSION_(maj,min,rev) SOCDESC_VERSION__(maj,min,rev)
54#define SOCDESC_VERSION SOCDESC_VERSION_(SOCDESC_VERSION_MAJOR,SOCDESC_VERSION_MINOR,SOCDESC_VERSION_REV)
55
48/** 56/**
49 * Typedef for SoC types: word, address and flags */ 57 * Typedef for SoC types: word, address and flags */
50typedef uint32_t soc_addr_t; 58typedef uint32_t soc_addr_t;