mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 15:40:29 +09:00
Correct GPIO setup (UART1/IRQ's) on yosemite & yellowstone
Patch by Stefan Roese, 29 May 2006
This commit is contained in:
parent
d945527305
commit
b9b2480f4f
@ -2,6 +2,9 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Correct GPIO setup (UART1/IRQ's) on yosemite & yellowstone
|
||||||
|
Patch by Stefan Roese, 29 May 2006
|
||||||
|
|
||||||
* Update Intel IXP4xx support
|
* Update Intel IXP4xx support
|
||||||
- Add IXP4xx NPE ethernet MAC support
|
- Add IXP4xx NPE ethernet MAC support
|
||||||
- Add support for Intel IXDPG425 board
|
- Add support for Intel IXDPG425 board
|
||||||
|
@ -79,8 +79,8 @@ int board_early_init_f(void)
|
|||||||
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
||||||
|
|
||||||
/* external interrupts IRQ0...3 */
|
/* external interrupts IRQ0...3 */
|
||||||
out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x0f000000);
|
out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x00f00000);
|
||||||
out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x00005500);
|
out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x0000ff00);
|
||||||
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
|
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
|
||||||
|
|
||||||
#if 0 /* test-only */
|
#if 0 /* test-only */
|
||||||
|
@ -79,8 +79,8 @@ int board_early_init_f(void)
|
|||||||
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
||||||
|
|
||||||
/* external interrupts IRQ0...3 */
|
/* external interrupts IRQ0...3 */
|
||||||
out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x0f000000);
|
out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x00f00000);
|
||||||
out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x00005500);
|
out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x0000ff00);
|
||||||
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
|
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
|
||||||
|
|
||||||
/*setup USB 2.0 */
|
/*setup USB 2.0 */
|
||||||
|
Loading…
Reference in New Issue
Block a user