We don't have card detect connected.  Try to fake it better by
enabling the peripheral fuction to the ball and forcing pulldown
(card detect is active-low).

Signed-off-by: Andy Green <[EMAIL PROTECTED]>
---

 src/cpu/s3c6410/gta03.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cpu/s3c6410/gta03.c b/src/cpu/s3c6410/gta03.c
index b8beb83..c96bdd6 100644
--- a/src/cpu/s3c6410/gta03.c
+++ b/src/cpu/s3c6410/gta03.c
@@ -292,10 +292,10 @@ void port_init_gta03(void)
                (2 << 12) | /* GPG3  - MMC_DATA10 */
                (2 << 16) | /* GPG4  - MMC_DATA20 */
                (2 << 20) | /* GPG5  - MMC_DATA30 */
-               (1 << 24)   /* GPG6  - (NC) OUTPUT 0 */
+               (2 << 24)   /* GPG6  - (NC) MMC CARD DETECT */
        ;
 
-       __REG(GPGPUD) = 0; /* all pullup and pulldown disabled */
+       __REG(GPGPUD) = (1 << (6 * 2)); /* pull down card detect */
 
        __REG(GPGDAT) = 0; /* just for determinism */
 


Reply via email to