summaryrefslogtreecommitdiff
path: root/cpu/74xx_7xx/cpu_init.c
diff options
context:
space:
mode:
authorroy zang <tie-fei.zang@freescale.com>2006-11-02 18:49:51 +0800
committerZang Tiefei <roy@bus.ap.freescale.net>2006-11-02 18:49:51 +0800
commit4c52783b3d024e153c4972b97332e314bc3bdc46 (patch)
treeffc40c217c1b6b32e47837edaa0981f6e62403f5 /cpu/74xx_7xx/cpu_init.c
parent69366bf42f22d67efce8da3f8c40a43d4a3c2695 (diff)
General code modification for mpc7448hpc2 board support.
1. Add 7447A and 7448 processor support. 2. Add the following flags. CFG_CONFIG_BUS_CLK : If the 74xx bus frequency can be configured dynamically (such as by switch on board), this flag should be set. CFG_EXCEPTION_AFTER_RELOCATE: If an exception occurs after the u-boot relocates to RAM, this flag should be set. CFG_SERIAL_HANG_IN_EXCEPTION: If the print out function will cause the system hang in exception, this flag should be set. There is a design issue for tsi108/109 pci configure read. When pci scan the slots, if there is no pci card, the tsi108/9 will cause a machine check exception for mpc7448 processor. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Diffstat (limited to 'cpu/74xx_7xx/cpu_init.c')
-rw-r--r--cpu/74xx_7xx/cpu_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/74xx_7xx/cpu_init.c b/cpu/74xx_7xx/cpu_init.c
index 93f180f267..1dd1b2cd84 100644
--- a/cpu/74xx_7xx/cpu_init.c
+++ b/cpu/74xx_7xx/cpu_init.c
@@ -43,6 +43,8 @@ cpu_init_f (void)
case CPU_7450:
case CPU_7455:
case CPU_7457:
+ case CPU_7447A:
+ case CPU_7448:
/* enable the timebase bit in HID0 */
set_hid0(get_hid0() | 0x4000000);
break;