Skip to contentSkip to conversation

mpc85xx: use IS_E_PROCESSOR macro

PATCH New Kim Phillips 2 participants 2 messages Jun 17, 2008 – Jul 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mpc85xx: use IS_E_PROCESSOR macro

---
as requested by galak.

 cpu/mpc85xx/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/mpc85xx/cpu.c +1 -1
index 2b7e753..a2b11cc 100644
@@ -97,7 +97,7 @@ int checkcpu (void)
 	if (cpu) {
 		puts(cpu->name);
 
-		if (svr & 0x80000)
+		if (IS_E_PROCESSOR(svr))
 			puts("E");
 	} else {
 		puts("Unknown");
Signature · 1 line
1.5.6.rc2.26.g8c37
Applied
#1 lore raw

PATCH 1/2 mpc85xx: use IS_E_PROCESSOR macro

Quoted 1 line · Kim Phillips

Applied, thanks!

I also applied 2/2, since it appears the order needs to be reversed, and it just makes things easier.

Andy