summaryrefslogtreecommitdiff
path: root/board/amcc/taishan/showinfo.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-21 08:12:41 +0200
committerStefan Roese <sr@denx.de>2007-10-31 21:20:50 +0100
commit087dfdb79b5fd1ab99a26990c62a732c01a8c7f6 (patch)
tree96c91e48b109044f85ea4ef06cb5c801d888ffae /board/amcc/taishan/showinfo.c
parent770c7af5800f598d22730d1f4b70f16c9b33512e (diff)
downloadu-boot-imx-087dfdb79b5fd1ab99a26990c62a732c01a8c7f6.zip
u-boot-imx-087dfdb79b5fd1ab99a26990c62a732c01a8c7f6.tar.gz
u-boot-imx-087dfdb79b5fd1ab99a26990c62a732c01a8c7f6.tar.bz2
ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx
This patch moves some common 4xx macros and the PPC405_SYS_INFO/ PPC440_SYS_INFO structure into the common ppc4xx.h header. Lot's of other macros are good candidates to be consolidated this way in the future. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/taishan/showinfo.c')
-rw-r--r--board/amcc/taishan/showinfo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/board/amcc/taishan/showinfo.c b/board/amcc/taishan/showinfo.c
index 57b9d1c..040b800 100644
--- a/board/amcc/taishan/showinfo.c
+++ b/board/amcc/taishan/showinfo.c
@@ -33,25 +33,25 @@ void show_reset_reg(void)
/* read clock regsiter */
printf("===== Display reset and initialize register Start =========\n");
- mfclk(clk_pllc,reg);
+ mfcpr(clk_pllc,reg);
printf("cpr_pllc = %#010x\n",reg);
- mfclk(clk_plld,reg);
+ mfcpr(clk_plld,reg);
printf("cpr_plld = %#010x\n",reg);
- mfclk(clk_primad,reg);
+ mfcpr(clk_primad,reg);
printf("cpr_primad = %#010x\n",reg);
- mfclk(clk_primbd,reg);
+ mfcpr(clk_primbd,reg);
printf("cpr_primbd = %#010x\n",reg);
- mfclk(clk_opbd,reg);
+ mfcpr(clk_opbd,reg);
printf("cpr_opbd = %#010x\n",reg);
- mfclk(clk_perd,reg);
+ mfcpr(clk_perd,reg);
printf("cpr_perd = %#010x\n",reg);
- mfclk(clk_mald,reg);
+ mfcpr(clk_mald,reg);
printf("cpr_mald = %#010x\n",reg);
/* read sdr register */