commit | 7629f1c06b6dea36bbc7bf70820b824e9b6d2227 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sun Jun 14 20:58:47 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jul 14 00:02:41 2009 +0200 |
tree | 5e16623d76147730634a34aae1939187fa850efb | |
parent | 0549353a6ba5aa03420c0962b9072e9cf1fa49d9 [diff] |
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>