From 9f709b6cee2e567510a59c145bb0814dabefdaa5 Mon Sep 17 00:00:00 2001
From: wdenk <wdenk>
Date: Fri, 22 Apr 2005 15:09:09 +0000
Subject: [PATCH] Fix INKA4x0: use CS1 as gpio_wkup_6 output

---
 CHANGELOG                 |  2 ++
 include/configs/inka4x0.h | 12 +++---------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index f09948ee2e..aec465039a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Fix INKA4x0: use CS1 as gpio_wkup_6 output
+
 * Fix bug in the SDRAM initialization code for canmb, IceCube and
   PM520 boards.
   Fix PHY address for canmb board.
diff --git a/include/configs/inka4x0.h b/include/configs/inka4x0.h
index 82a384202c..5cbb0c392d 100644
--- a/include/configs/inka4x0.h
+++ b/include/configs/inka4x0.h
@@ -197,8 +197,8 @@
 /*
  * GPIO configuration
  *
- * use pin gpio_wkup_6 as second SDRAM chip select (mem_cs1):
- *	Bit 0 (mask: 0x80000000): 1
+ * use CS1 as gpio_wkup_6 output
+ *	Bit 0 (mask: 0x80000000): 0
  * use ALT CAN position: Bits 2-3 (mask: 0x30000000):
  *	00 -> No Alternatives, I2C1 is used for onboard EEPROM
  *	01 -> CAN1 on I2C1, CAN2 on Tmr0/1 do not use on TQM5200 with onboard
@@ -206,14 +206,8 @@
  * use PSC1 as UART: Bits 28-31 (mask: 0x00000007): 0100
  * use PSC6_1 and PSC6_3 as GPIO: Bits 9:11 (mask: 0x07000000):
  *	011 -> PSC6 could not be used as UART or CODEC. IrDA still possible.
- * GPIO on PSC6_3 is used in post_hotkeys_pressed() to enable extended POST
- * tests.
  */
-#if defined (CONFIG_MINIFAP)
-#define CFG_GPS_PORT_CONFIG	0x93000004
-#else
-#define CFG_GPS_PORT_CONFIG	0x81001004
-#endif
+#define CFG_GPS_PORT_CONFIG	0x01001004
 
 /*
  * RTC configuration
-- 
2.39.5