From b0aef11c9f1f98d018adaa484f1e048fa626801e Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 18 Jan 2004 18:21:54 +0000 Subject: Fix typo in Makefile; fix problem with PARTNUM detection --- cpu/mpc8xx/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu/mpc8xx/cpu.c') diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index 3504422..3fb97b0 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<