From: wdenk Date: Sun, 18 Jan 2004 18:21:54 +0000 (+0000) Subject: Fix typo in Makefile; X-Git-Tag: LABEL_2006_03_12_0025~669 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0aef11c9f1f98d018adaa484f1e048fa626801e;p=oweals%2Fu-boot.git Fix typo in Makefile; fix problem with PARTNUM detection --- diff --git a/CHANGELOG b/CHANGELOG index 72abebe7fa..b136f2157d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.0.1: ====================================================================== +* Fix typo in Makefile; + fix problem with PARTNUM detection + * Patch by Reinhard Meyer, 09 Jan 2004: - add RTC support for MPC5200 based boards (requires RTC_XTAL) diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index 3504422901..3fb97b07ca 100644 --- a/cpu/mpc8xx/cpu.c +++ b/cpu/mpc8xx/cpu.c @@ -513,7 +513,7 @@ unsigned long get_tbclk (void) * * For older chips, it's just MF field of PLPRCR plus one. */ - if ((immr & 0xFFFF) >= MPC8xx_NEW_CLK) { /* MPC866/87x/88x series */ + if ((immr & 0x0FFF) >= MPC8xx_NEW_CLK) { /* MPC866/87x/88x series */ factor = (PLPRCR_val(MFI) + PLPRCR_val(MFN)/(PLPRCR_val(MFD)+1))/ (PLPRCR_val(PDF)+1) / (1<