]> git.dujemihanovic.xyz Git - u-boot.git/commit
MPC512x: factor out common code
authorWolfgang Denk <wd@denx.de>
Sun, 14 Jun 2009 18:58:47 +0000 (20:58 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 13 Jul 2009 22:02:41 +0000 (00:02 +0200)
commit7629f1c06b6dea36bbc7bf70820b824e9b6d2227
tree5e16623d76147730634a34aae1939187fa850efb
parent0549353a6ba5aa03420c0962b9072e9cf1fa49d9
MPC512x: factor out common code

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 <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
board/davedenx/aria/aria.c
board/esd/mecp5123/mecp5123.c
board/freescale/mpc5121ads/mpc5121ads.c
cpu/mpc512x/Makefile
cpu/mpc512x/fixed_sdram.c [new file with mode: 0644]
include/asm-ppc/mpc512x.h [new file with mode: 0644]