diff options
author | Wolfgang Denk <wd@denx.de> | 2009-05-16 10:47:38 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 20:47:16 +0200 |
commit | de26ef99bddbce4ed225f93afcf0bee99c3b6f87 (patch) | |
tree | ce7263c310a633126968f14668b4ca757daa7d01 /cpu/mpc512x/Makefile | |
parent | 03e069dc0a765d506f78a68319acf33d432e035b (diff) | |
download | u-boot-imx-de26ef99bddbce4ed225f93afcf0bee99c3b6f87.zip u-boot-imx-de26ef99bddbce4ed225f93afcf0bee99c3b6f87.tar.gz u-boot-imx-de26ef99bddbce4ed225f93afcf0bee99c3b6f87.tar.bz2 |
mpc512x: Move common files to share them by several boards
We will soon see several new MPC521x based boards added. This patch
moves files that are not board specific to a common directory so they
can be shared by all such ports. It also splits off common IDE code
into a new file, cpu/mpc512x/ide.c .
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
Diffstat (limited to 'cpu/mpc512x/Makefile')
-rw-r--r-- | cpu/mpc512x/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/mpc512x/Makefile b/cpu/mpc512x/Makefile index d6bfd59..022c676 100644 --- a/cpu/mpc512x/Makefile +++ b/cpu/mpc512x/Makefile @@ -22,11 +22,18 @@ include $(TOPDIR)/config.mk +$(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-${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 +COBJS-${CONFIG_CMD_IDE} += ide.o COBJS-${CONFIG_IIM} += iim.o +COBJS-$(CONFIG_PCI) += pci.o COBJS := $(COBJS-y) SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) |