summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-06-14 20:58:47 +0200
committerWolfgang Denk <wd@denx.de>2009-07-14 00:02:41 +0200
commit7629f1c06b6dea36bbc7bf70820b824e9b6d2227 (patch)
tree5e16623d76147730634a34aae1939187fa850efb /cpu/mpc512x/Makefile
parent0549353a6ba5aa03420c0962b9072e9cf1fa49d9 (diff)
downloadu-boot-imx-7629f1c06b6dea36bbc7bf70820b824e9b6d2227.zip
u-boot-imx-7629f1c06b6dea36bbc7bf70820b824e9b6d2227.tar.gz
u-boot-imx-7629f1c06b6dea36bbc7bf70820b824e9b6d2227.tar.bz2
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>
Diffstat (limited to 'cpu/mpc512x/Makefile')
-rw-r--r--cpu/mpc512x/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpu/mpc512x/Makefile b/cpu/mpc512x/Makefile
index 022c676..427db7a 100644
--- a/cpu/mpc512x/Makefile
+++ b/cpu/mpc512x/Makefile
@@ -27,7 +27,15 @@ $(shell mkdir -p $(OBJTREE)/board/freescale/common)
LIB = $(obj)lib$(CPU).a
START = start.o
-COBJS-y := traps.o cpu.o cpu_init.o speed.o interrupts.o serial.o i2c.o iopin.o
+COBJS-y := cpu.o
+COBJS-y += traps.o
+COBJS-y += cpu_init.o
+COBJS-y += fixed_sdram.o
+COBJS-y += i2c.o
+COBJS-y += interrupts.o
+COBJS-y += iopin.o
+COBJS-y += serial.o
+COBJS-y += speed.o
COBJS-${CONFIG_FSL_DIU_FB} += diu.o
COBJS-${CONFIG_FSL_DIU_FB} += ../../board/freescale/common/fsl_diu_fb.o
COBJS-${CONFIG_FSL_DIU_FB} += ../../board/freescale/common/fsl_logo_bmp.o