mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-22 14:41:42 +00:00
Allow config of GPIO direction & data registers at boot on 83xx
Patch by Kumar Gala, 11 Jan 2006
This commit is contained in:
parent
ce574ff506
commit
a15b44dbfa
2 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Allow config of GPIO direction & data registers at boot on 83xx
|
||||||
|
Patch by Kumar Gala, 11 Jan 2006
|
||||||
|
|
||||||
* Enable time handling on 83xx
|
* Enable time handling on 83xx
|
||||||
Patch by Kumar Gala, 11 Jan 2006
|
Patch by Kumar Gala, 11 Jan 2006
|
||||||
|
|
||||||
|
|
|
@ -154,6 +154,14 @@ void cpu_init_f (volatile immap_t * im)
|
||||||
im->sysconf.lblaw[7].bar = CFG_LBLAWBAR7_PRELIM;
|
im->sysconf.lblaw[7].bar = CFG_LBLAWBAR7_PRELIM;
|
||||||
im->sysconf.lblaw[7].ar = CFG_LBLAWAR7_PRELIM;
|
im->sysconf.lblaw[7].ar = CFG_LBLAWAR7_PRELIM;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CFG_GPIO1_PRELIM
|
||||||
|
im->pgio[0].dir = CFG_GPIO1_DIR;
|
||||||
|
im->pgio[0].dat = CFG_GPIO1_DAT;
|
||||||
|
#endif
|
||||||
|
#ifdef CFG_GPIO2_PRELIM
|
||||||
|
im->pgio[1].dir = CFG_GPIO2_DIR;
|
||||||
|
im->pgio[1].dat = CFG_GPIO2_DAT;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue