瀏覽代碼

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

stroese 22 年之前
父節點
當前提交
d7787c6e57
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      CHANGELOG
  2. 1 1
      cpu/ppc4xx/serial.c

+ 3 - 0
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).

+ 1 - 1
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