mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 13:08:31 -04:00
Fix external IRQ configuration on Yellowstone & Yosemite
The multiplexed signals Ext IRQ0...3 have to be configured as IRQ, because they default to GPIOx (440EP/GR). Patch by Stefan Roese, 28 Oct 2005
This commit is contained in:
parent
7b5cac0e19
commit
e190290ba4
@ -2,6 +2,9 @@
|
|||||||
Changes for U-Boot 1.1.4:
|
Changes for U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix external IRQ configuration on Yellowstone & Yosemite
|
||||||
|
Patch by Stefan Roese, 28 Oct 2005
|
||||||
|
|
||||||
* Add PCI support for the TQM834x board.
|
* Add PCI support for the TQM834x board.
|
||||||
|
|
||||||
* Add missing 4xx board to MAKEALL
|
* Add missing 4xx board to MAKEALL
|
||||||
|
@ -95,6 +95,11 @@ int board_early_init_f(void)
|
|||||||
out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x00080000);
|
out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x00080000);
|
||||||
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
||||||
|
|
||||||
|
/* external interrupts IRQ0...3 */
|
||||||
|
out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x0f000000);
|
||||||
|
out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x00005500);
|
||||||
|
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
|
||||||
|
|
||||||
#if 0 /* test-only */
|
#if 0 /* test-only */
|
||||||
/*setup USB 2.0 */
|
/*setup USB 2.0 */
|
||||||
out32(GPIO1_TCR, in32(GPIO1_TCR) | 0xc0000000);
|
out32(GPIO1_TCR, in32(GPIO1_TCR) | 0xc0000000);
|
||||||
|
@ -95,6 +95,11 @@ int board_early_init_f(void)
|
|||||||
out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x00080000);
|
out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x00080000);
|
||||||
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000);
|
||||||
|
|
||||||
|
/* external interrupts IRQ0...3 */
|
||||||
|
out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x0f000000);
|
||||||
|
out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x00005500);
|
||||||
|
out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500);
|
||||||
|
|
||||||
/*setup USB 2.0 */
|
/*setup USB 2.0 */
|
||||||
out32(GPIO1_TCR, in32(GPIO1_TCR) | 0xc0000000);
|
out32(GPIO1_TCR, in32(GPIO1_TCR) | 0xc0000000);
|
||||||
out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x50000000);
|
out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x50000000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user