summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-30 00:05:50 +0000
committerwdenk <wdenk>2003-08-30 00:05:50 +0000
commit0cb61d7dddb0d8c087f6df46a74815950668c97b (patch)
tree215dcff4a52d627cc1ee489c4550dbb67356224b /cpu/mpc8xx
parent6f21347d49b1741e4b8247f5e2d3fa83ef169c25 (diff)
downloadu-boot-imx-0cb61d7dddb0d8c087f6df46a74815950668c97b.zip
u-boot-imx-0cb61d7dddb0d8c087f6df46a74815950668c97b.tar.gz
u-boot-imx-0cb61d7dddb0d8c087f6df46a74815950668c97b.tar.bz2
Patch by Raghu Krishnaprasad, 7 Aug 2003:
add support for Adder II MPC852T module
Diffstat (limited to 'cpu/mpc8xx')
-rw-r--r--cpu/mpc8xx/cpu.c1
-rw-r--r--cpu/mpc8xx/cpu_init.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c
index b95e06f..c4b3938 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 80f763d..dbf5db0 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) || \