From 0cb61d7dddb0d8c087f6df46a74815950668c97b Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 30 Aug 2003 00:05:50 +0000 Subject: Patch by Raghu Krishnaprasad, 7 Aug 2003: add support for Adder II MPC852T module --- cpu/mpc8xx/cpu.c | 1 + cpu/mpc8xx/cpu_init.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'cpu/mpc8xx') diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index b95e06f34..c4b39381b 100644 --- a/cpu/mpc8xx/cpu.c +++ b/cpu/mpc8xx/cpu.c @@ -98,6 +98,7 @@ static int check_CPU (long clock, uint pvr, uint immr) case 0x00310065: mid = "SR"; suf = "C1"; m = 1; break; case 0x05010000: suf = "D3"; m = 1; break; case 0x05020000: suf = "D4"; m = 1; break; + case 0x08000003: suf = ""; m = 1; break; /* this value is not documented anywhere */ case 0x40000000: pre = 'P'; suf = "D"; m = 1; break; #endif diff --git a/cpu/mpc8xx/cpu_init.c b/cpu/mpc8xx/cpu_init.c index 80f763d1f..dbf5db018 100644 --- a/cpu/mpc8xx/cpu_init.c +++ b/cpu/mpc8xx/cpu_init.c @@ -132,7 +132,8 @@ void cpu_init_f (volatile immap_t * immr) * I owe him a free beer. - wd] */ -#if defined(CONFIG_GTH) || \ +#if defined(CONFIG_ADDERII) || \ + defined(CONFIG_GTH) || \ defined(CONFIG_HERMES) || \ defined(CONFIG_ICU862) || \ defined(CONFIG_IP860) || \ -- cgit v1.2.3