From: stroese <stroese>
Date: Mon, 17 Feb 2003 16:06:06 +0000 (+0000)
Subject: Fixed bug in ext. serial clock setup on PPC405 (since PPC440 port).
X-Git-Tag: v2025.01-rc5-pxa1908~24018
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=d7787c6e57f602d1f8c17c94886b81ee2ae229c2;p=u-boot.git

Fixed bug in ext. serial clock setup on PPC405 (since PPC440 port).
---

diff --git a/CHANGELOG b/CHANGELOG
index d103759a97..d22ce04dd4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 0.2.1:
 ======================================================================
 
+* Patch by Stefan Roese, 17 Feb 2003:
+  Fixed bug in ext. serial clock setup on PPC405 (since PPC440 port).
+
 * Patch by Stefan Roese, 13 Feb 2003:
   Add "pcidelay" environment variable (in ms, enabled via
   CONFIG_PCI_BOOTDELAY).
diff --git a/cpu/ppc4xx/serial.c b/cpu/ppc4xx/serial.c
index d02ff2fa69..7e684f4bc5 100644
--- a/cpu/ppc4xx/serial.c
+++ b/cpu/ppc4xx/serial.c
@@ -279,7 +279,7 @@ int serial_tstc ()
 #define UART0_BASE      0xef600300
 #define UART1_BASE      0xef600400
 #define CR0_MASK        0x00001fff
-#define CR0_EXTCLK_ENA  0x00000c00
+#define CR0_EXTCLK_ENA  0x000000c0
 #define CR0_UDIV_POS    1
 #endif