path: root/firmware/target/arm/imx233/ocotp-imx233.h
AgeCommit message (Collapse)AuthorFilesLines
2016-05-28imx233: generate register headers using headergen_v2 and update code for itAmaury Pouly1-4/+4
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
2013-06-24imx233: fix ocotop/debug and usb-core for stmp3600Amaury Pouly1-1/+16
Currently we don't know where the serial number is stored on the stmp3600. It is probably using the laser fuses but this needs to be investigated Change-Id: I1ac25e38b8f65635abb68788ceb65df0a740dabd
2013-06-17imx233: fix octop for stmp3600 and stmp3700Amaury Pouly1-1/+3
Change-Id: Iacfa8bb96c8b78d56e5010f313bc47b73df80720
2013-06-16imx233: rewrite ocotp using new register headersAmaury Pouly1-29/+8
Change-Id: I3c622119a1e296ec6b3f35f27e81b5118ab7f6cc
2012-05-31imx233: add ocotp driverAmaury Pouly1-0/+77
Change-Id: If4ed62ece056e81665a00af39eb1c57bb2c42b22