summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2013-03-30 09:26:36 +0000
committerWolfgang Denk <wd@denx.de>2013-05-02 20:43:38 +0200
commitb91363cd34061fde84614f64d3c0975ff056d44d (patch)
treea68e0c0bbe1ee85a5e3fc602f45eb7c4a28fa16f
parent971020c755e5633c9a8f532356ee1750b38dd86f (diff)
downloadu-boot-imx-b91363cd34061fde84614f64d3c0975ff056d44d.zip
u-boot-imx-b91363cd34061fde84614f64d3c0975ff056d44d.tar.gz
u-boot-imx-b91363cd34061fde84614f64d3c0975ff056d44d.tar.bz2
mpc512x: remove dead code
The prt_mpc512x_clks() function isn't referenced anywhere and its prototype is wrong. Remove it. Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r--arch/powerpc/cpu/mpc512x/speed.c6
-rw-r--r--include/common.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/cpu/mpc512x/speed.c b/arch/powerpc/cpu/mpc512x/speed.c
index 9a8f315..6761877 100644
--- a/arch/powerpc/cpu/mpc512x/speed.c
+++ b/arch/powerpc/cpu/mpc512x/speed.c
@@ -151,9 +151,3 @@ U_BOOT_CMD(clocks, 1, 0, do_clocks,
"print clock configuration",
" clocks"
);
-
-int prt_mpc512x_clks (void)
-{
- do_clocks (NULL, 0, 0, NULL);
- return (0);
-}
diff --git a/include/common.h b/include/common.h
index 28aa4b9..de75da2 100644
--- a/include/common.h
+++ b/include/common.h
@@ -648,9 +648,6 @@ int prt_8260_clks (void);
#elif defined(CONFIG_MPC5xxx)
int prt_mpc5xxx_clks (void);
#endif
-#if defined(CONFIG_MPC512X)
-int prt_mpc512xxx_clks (void);
-#endif
#if defined(CONFIG_MPC8220)
int prt_mpc8220_clks (void);
#endif