diff options
author | Gerhard Sittig <gsi@denx.de> | 2013-05-14 04:40:53 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-05-21 10:58:39 +0200 |
commit | 2abbbb63c90ab55ca3f054772c2e5ba7df810c48 (patch) | |
tree | 4acf0e08ddd59b763811198e2bb70b067336a9a2 /arch/powerpc/include | |
parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff) |
powerpc/mpc512x: move common code to shared.c file
- implement all of the init, init early, and setup arch routines in the
shared source file for the MPC512x PowerPC platform, and make all
MPC512x based boards (ADS, PDM, generic) use those common routines
- remove declarations from header files for routines which aren't
referenced from external callers any longer
this modification concentrates knowledge about the optional FSL DIU
support in one spot within the shared code, and makes all boards benefit
transparently from future improvements in the shared platform code
the change does not modify any behaviour but preserves all code paths
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/mpc5121.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mpc5121.h b/arch/powerpc/include/asm/mpc5121.h index 885c040d6194..8ae133eaf9fa 100644 --- a/arch/powerpc/include/asm/mpc5121.h +++ b/arch/powerpc/include/asm/mpc5121.h @@ -68,6 +68,5 @@ struct mpc512x_lpc { }; int mpc512x_cs_config(unsigned int cs, u32 val); -int __init mpc5121_clk_init(void); #endif /* __ASM_POWERPC_MPC5121_H__ */ |