forked from len0rd/rockbox
imx233/fuze+: implement power management(battery charger), add powermgmt debug info, add power debug info, move target specific powermgmt code to its own files, remove auto-slow setup which was forgotten for debugging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31424 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a1d3ed2534
commit
f7f1f7023f
8 changed files with 432 additions and 40 deletions
|
@ -90,5 +90,6 @@
|
|||
|
||||
#define __XTRACT(reg, field) ((reg & reg##__##field##_BM) >> reg##__##field##_BP)
|
||||
#define __XTRACT_EX(val, field) (((val) & field##_BM) >> field##_BP)
|
||||
#define __FIELD_SET(reg, field, val) reg = (reg & ~reg##__##field##_BM) | (val << reg##__##field##_BP)
|
||||
|
||||
#endif /* __IMX233_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue