Fix compiler problem with at91rm9200dk board.
authorWolfgang Denk <wd@pollux.(none)>
Mon, 19 Dec 2005 12:02:45 +0000 (13:02 +0100)
committerWolfgang Denk <wd@pollux.(none)>
Mon, 19 Dec 2005 12:02:45 +0000 (13:02 +0100)
Patch by Eugen Bigz, 19 Dec 2005

CHANGELOG
board/at91rm9200dk/at91rm9200dk.c

index 015932e..c70c376 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,11 @@
 ======================================================================
+Changes since U-Boot 1.1.4:
+======================================================================
+
+* Fix compiler problem with at91rm9200dk board.
+  Patch by Eugen Bigz, 19 Dec 2005
+
+======================================================================
 Changes for U-Boot 1.1.4:
 ======================================================================
 
index 77caed3..9016776 100644 (file)
@@ -41,7 +41,7 @@ int board_init (void)
 
        /* Correct IRDA resistor problem */
        /* Set PA23_TXD in Output */
-       (AT91PS_PIO) AT91C_BASE_PIOA->PIO_OER = AT91C_PA23_TXD2;
+       ((AT91PS_PIO) AT91C_BASE_PIOA)->PIO_OER = AT91C_PA23_TXD2;
 
        /* memory and cpu-speed are setup before relocation */
        /* so we do _nothing_ here */