]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpc512x: move common code to shared.c file
authorGerhard Sittig <gsi@denx.de>
Tue, 14 May 2013 04:40:53 +0000 (04:40 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 21 May 2013 08:58:39 +0000 (10:58 +0200)
commit7586a6a593db71d88a22a4f36c49772ed7d0ee39
tree4acf0e08ddd59b763811198e2bb70b067336a9a2
parent2187cc16d19b7c024d3688db93fabe2573ab34fa
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>
arch/powerpc/include/asm/mpc5121.h
arch/powerpc/platforms/512x/mpc5121_ads.c
arch/powerpc/platforms/512x/mpc512x.h
arch/powerpc/platforms/512x/mpc512x_generic.c
arch/powerpc/platforms/512x/mpc512x_shared.c
arch/powerpc/platforms/512x/pdm360ng.c