summaryrefslogtreecommitdiff
path: root/include
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 /include
parent69366bf42f22d67efce8da3f8c40a43d4a3c2695 (diff)
downloadu-boot-imx-4c52783b3d024e153c4972b97332e314bc3bdc46.zip
u-boot-imx-4c52783b3d024e153c4972b97332e314bc3bdc46.tar.gz
u-boot-imx-4c52783b3d024e153c4972b97332e314bc3bdc46.tar.bz2
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 'include')
-rw-r--r--include/74xx_7xx.h1
-rw-r--r--include/asm-ppc/global_data.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/74xx_7xx.h b/include/74xx_7xx.h
index a628798..7cd2f10 100644
--- a/include/74xx_7xx.h
+++ b/include/74xx_7xx.h
@@ -112,6 +112,7 @@ typedef enum __cpu_t {
CPU_7400,
CPU_7410,
CPU_7450, CPU_7455, CPU_7457,
+ CPU_7447A, CPU_7448,
CPU_UNKNOWN} cpu_t;
extern cpu_t get_cpu_type(void);
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h
index b73af96..166afbe 100644
--- a/include/asm-ppc/global_data.h
+++ b/include/asm-ppc/global_data.h
@@ -49,6 +49,9 @@ typedef struct global_data {
unsigned long scc_clk;
unsigned long brg_clk;
#endif
+#if defined(CONFIG_MPC7448HPC2)
+ unsigned long mem_clk;
+#endif
#if defined(CONFIG_MPC83XX)
/* There are other clocks in the MPC83XX */
u32 csb_clk;