[U-Boot-Users] [PATCH 1/2] mpc85xx: use IS_E_PROCESSOR macro

Kim Phillips kim.phillips at freescale.com
Wed Jun 18 00:45:22 CEST 2008


Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
as requested by galak.

 cpu/mpc85xx/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index 2b7e753..a2b11cc 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -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");
-- 
1.5.6.rc2.26.g8c37





More information about the U-Boot mailing list