Driver/DDR: Moving Freescale DDR driver to a common driver
[oweals/u-boot.git] / arch / powerpc / cpu / mpc8xxx / Makefile
1 #
2 # Copyright 2009-2010 Freescale Semiconductor, Inc.
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # Version 2 as published by the Free Software Foundation.
7 #
8
9 MINIMAL=
10
11 ifdef CONFIG_SPL_BUILD
12 ifdef CONFIG_SPL_INIT_MINIMAL
13 MINIMAL=y
14 endif
15 endif
16
17 ifdef MINIMAL
18
19 obj-$(CONFIG_FSL_LAW) += law.o
20
21 else
22
23 ifneq ($(CPU),mpc83xx)
24 obj-y   += cpu.o
25 endif
26
27 obj-$(CONFIG_OF_LIBFDT) += fdt.o
28 obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
29 obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
30 obj-$(CONFIG_SYS_SRIO) += srio.o
31 obj-$(CONFIG_FSL_LAW) += law.o
32
33 endif