summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-11-21 15:08:01 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-12-02 20:21:58 +0100
commit15155ed10006f84c42bc435e354a16b3f391d55e (patch)
treec74a750f5f75cdb8debd545f800fcca627b2d453
parent23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6 (diff)
downloadrockbox-15155ed.tar.gz
rockbox-15155ed.tar.bz2
rockbox-15155ed.zip
regtools: update xml format documentation
Change-Id: I7e293532983f350a6f7cd9c7bc2bc6633c8fd3f2 Reviewed-on: http://gerrit.rockbox.org/671 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
-rw-r--r--utils/regtools/desc/XML.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/regtools/desc/XML.txt b/utils/regtools/desc/XML.txt
index 15164a43b9..a90f875f66 100644
--- a/utils/regtools/desc/XML.txt
+++ b/utils/regtools/desc/XML.txt
@@ -100,6 +100,8 @@ In the special case where the addresses of the register follow a pattern, an
explicit formula can be described as part of the format. There is no specific
requirement on the formula except that the register addresses be indexed by
a variable "n" which range from 0 to N-1 where N is the number of address.
+The formula is not used for anything except header generation where it is
+handy to have a formula rather a long list of conditionals.
The following properties are defined:
- "string" (mandatory,string): the equation describing the addresses.
@@ -130,4 +132,4 @@ Each value is enclosed in a "value" tag. The following properties are defined:
Example:
<value name="DIV_BY_1" value="0x0" />
-<value name="DIV_BY_2" value="0x1" /> \ No newline at end of file
+<value name="DIV_BY_2" value="0x1" />