summaryrefslogtreecommitdiffstats
path: root/utils/regtools/lib
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-05-02 00:32:41 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-05-11 19:54:48 +0200
commitdc869e70acaadb7ef2d96101fe8e938d53f18e65 (patch)
treef3a3b73c239d3e3baee26e48a0183fd767f23cbd /utils/regtools/lib
parent8d0d3cb6f5528811fabde7e08c876723febe0a0d (diff)
downloadrockbox-dc869e70acaadb7ef2d96101fe8e938d53f18e65.tar.gz
rockbox-dc869e70acaadb7ef2d96101fe8e938d53f18e65.tar.bz2
rockbox-dc869e70acaadb7ef2d96101fe8e938d53f18e65.zip
qeditor: add support for deletion of items
Change-Id: I886e15585bd3bfed3303e4b845cd8960a9461277
Diffstat (limited to 'utils/regtools/lib')
-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 @@
* ignores the position of the WORD_LENGTH field in the register.
*/
+#define SOCDESC_VERSION_MAJOR 1
+#define SOCDESC_VERSION_MINOR 1
+#define SOCDESC_VERSION_REV 0
+
+#define SOCDESC_VERSION__(maj,min,rev) #maj"."#min"."#rev
+#define SOCDESC_VERSION_(maj,min,rev) SOCDESC_VERSION__(maj,min,rev)
+#define SOCDESC_VERSION SOCDESC_VERSION_(SOCDESC_VERSION_MAJOR,SOCDESC_VERSION_MINOR,SOCDESC_VERSION_REV)
+
/**
* Typedef for SoC types: word, address and flags */
typedef uint32_t soc_addr_t;