path: root/firmware/target/arm/imx233/regs
AgeCommit message (Collapse)AuthorFilesLines
2016-05-28imx233: generate register headers using headergen_v2 and update code for itAmaury Pouly260-41902/+66522
NOTE: this commit does not introduce any change, ideally even the binary should be almost the same. I checked the disassembly by hand and there are only a few differences here and there, mostly the compiler decides to compile very close expressions slightly differently. I tried to run the new code on several targets to make sure and saw no difference. The major syntax changes of the new headers are as follows: - BF_{WR,SET,CLR} are now superpowerful and allows to set several fileds at once: BF_WR(reg, field1(value1), field2(value2), ...) - BF_CS (use like BF_WR) does a write to reg_CLR and then reg_SET instead of RMW - there is no more need for macros like BF_{WR_,SET,CLR}_V, since one can simply BF_WR with field_V(name) - the old BF_SETV macro has no trivial equivalent and is replaced with its its equivalent for BF_WR(reg_SET, ...) I also rename the register headers: "regs/regs-x.h" -> "regs/x.h" to avoid the redundant "regs". Final note: the registers were generated using the following command: ./headergen_v2 -g imx -o ../../firmware/target/arm/imx233/regs/ desc/regs-stmp3{600,700,780}.xml Change-Id: I7485e8b4315a0929a8edb63e7fa1edcaa54b1edc
2014-05-01regtools: normalise description files, and remove obsolete file. No logical ↵Amaury Pouly1-30/+0
change. Files were generated using utils/regtools/tester in "write" mode. Change-Id: Ib391b8dbb5ec84eb821e0d0a3699d306414f2aa1
2014-02-18imx233: regenerate headersAmaury Pouly138-172/+139
Change-Id: I9dae85eb27337154ddb82015666773a5254cc388
2013-12-06imx233: regenerate registers headersAmaury Pouly2-1/+287
Change-Id: I546177a247646d7a9864d1ec2796ef0708e50667
2013-06-15imx233: add register selector fileAmaury Pouly1-0/+41
Register set selection is based on the value of the IMX233_SUBTARGET value. The reg-select.h file (used by the generated headers), does the selection based on this value as follows: - 3600 <= . < 3700: stmp3600 register set - 3700 <= . < 3780: stmp3700 register set - 3780 <= .: imx233 register set Note that this selector relies on the name of the socs in the register description to be respectively stmp3600, stmp3700 and imx233. Change-Id: I793b18e6c4f3fea85aa74f4c6be3affb0622c14e
2013-06-15imx233: generate register headers for stmp3600, stmp3700 and imx233Amaury Pouly138-0/+41995
Change-Id: Ia87086f4f4f4ecbb844ffd869407b14ea2509934