mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-16 23:18:51 +09:00
b60b857387
board/ads5121/iopin.c Replace bit fields in struct iopin_t with a single field and intialize it via plain old macros. This fixes the type pun warnings and makes the code more readable. board/ads5121/ads5121.c Add include iopin.h to ads5121.c for the iopin_initialize prototype. Add an extern void ads5121_diu_init(void) Signed-off-by: John Rigby <jrigby@freescale.com> |
||
---|---|---|
.. | ||
ads5121_diu.c | ||
ads5121.c | ||
config.mk | ||
iopin.c | ||
iopin.h | ||
Makefile | ||
pci.c | ||
README | ||
u-boot.lds |
To configure for the current (Rev 3.x) ADS5121 make ads5121_config This will automatically include PCI, the Real Time CLock, add backup flash ability and set the correct frequency and memory configuration. To configure for the older Rev 2 ADS5121 type (this will not have PCI) make ads5121_rev2_config