]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/powerpc/lib/Makefile
powerpc, 8260: remove support for mpc8260
[people/ms/u-boot.git] / arch / powerpc / lib / Makefile
CommitLineData
0c8959d6 1#
f9328639 2# (C) Copyright 2000-2006
0c8959d6
WD
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
0c8959d6
WD
6#
7
01baa056 8## Build a couple of necessary functions into a private libgcc
06c14117 9## if the user asked for it
cd2e46cb 10lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
01baa056 11
4b919725
SW
12MINIMAL=
13
14ifdef CONFIG_SPL_BUILD
15ifdef CONFIG_SPL_INIT_MINIMAL
16MINIMAL=y
17endif
18endif
19
e5fb573f 20obj-$(CONFIG_SYS_EXTBDINFO) += setup.o
4b919725 21ifdef MINIMAL
06c14117
MY
22obj-y += cache.o time.o
23obj-y += ticks.o
4b919725
SW
24else
25
06c14117 26obj-y += ppcstring.o
4b919725 27
06c14117
MY
28obj-y += ppccache.o
29obj-y += ticks.o
30obj-y += reloc.o
823afe7c 31
06c14117 32obj-$(CONFIG_BAT_RW) += bat_rw.o
06c14117
MY
33obj-$(CONFIG_CMD_BOOTM) += bootm.o
34obj-y += cache.o
35obj-y += extable.o
36obj-y += interrupts.o
37obj-$(CONFIG_CMD_KGDB) += kgdb.o
68145d4c 38obj-y += stack.o
06c14117 39obj-y += time.o
823afe7c 40
083f2e08
SR
41# Don't include the MPC5xxx special memcpy into the
42# SPL U-Boot image. memcpy is used in the SPL NOR
43# flash driver. And we need the real, fast memcpy
44# here. We have no problems with unaligned access.
45ifndef CONFIG_SPL_BUILD
4ccd5510
WD
46# Workaround for local bus unaligned access problems
47# on MPC512x and MPC5200
48ifdef CONFIG_MPC512X
6825a95b 49AFLAGS_ppcstring.o += -Dmemcpy=__memcpy
06c14117 50obj-y += memcpy_mpc5200.o
4ccd5510 51endif
460c2ce3 52ifdef CONFIG_MPC5200
6825a95b 53AFLAGS_ppcstring.o += -Dmemcpy=__memcpy
06c14117 54obj-y += memcpy_mpc5200.o
460c2ce3 55endif
083f2e08 56endif
460c2ce3 57
4b919725
SW
58endif # not minimal
59
ea8256f0 60ifdef CONFIG_SPL_BUILD
06c14117 61obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
ea8256f0 62endif