Dear Wolfgang Denk, In message <1245005933-27483-4-git-send-email...@denx.de> you wrote: > Now that we have 3 boards for the MPC512x it turns out that they all > use the very same fixed_sdram() code. > > This patch factors out this common code into cpu/mpc512x/fixed_sdram.c > and adds a new header file, include/asm-ppc/mpc512x.h, with some > macros, inline functions and prototype definitions specific to MPC512x > systems. > > Signed-off-by: Wolfgang Denk <w...@denx.de> > Cc: Stefan Roese <s...@denx.de> > Cc: Reinhard Arlt <reinhard.a...@esd-electronics.com> > --- > v2: reposted in context with remaining patches of this series; > changed to use common spelling for CPU/board names. > > board/davedenx/aria/aria.c | 124 > +------------------------------ > board/esd/mecp5123/mecp5123.c | 104 +------------------------- > board/freescale/mpc5121ads/mpc5121ads.c | 118 ++---------------------------- > cpu/mpc512x/Makefile | 10 ++- > cpu/mpc512x/fixed_sdram.c | 113 ++++++++++++++++++++++++++++ > include/asm-ppc/mpc512x.h | 57 ++++++++++++++ > 6 files changed, 191 insertions(+), 335 deletions(-) > create mode 100644 cpu/mpc512x/fixed_sdram.c > create mode 100644 include/asm-ppc/mpc512x.h
Applied to u-boot-mpc5xxx repo. Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de A star captain's most solemn oath is that he will give his life, even his entire crew, rather than violate the Prime Directive. -- Kirk, "The Omega Glory", stardate unknown _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot