upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
## Build a couple of necessary functions into a private libgcc
|
|
## if the user asked for it
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
|
|
|
|
MINIMAL=
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
MINIMAL=y
|
|
endif
|
|
endif
|
|
|
|
ifdef MINIMAL
|
|
obj-y += cache.o time.o
|
|
obj-y += ticks.o
|
|
else
|
|
|
|
obj-y += ppcstring.o
|
|
|
|
obj-y += ppccache.o
|
|
obj-y += ticks.o
|
|
obj-y += reloc.o
|
|
|
|
obj-$(CONFIG_BAT_RW) += bat_rw.o
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
|
obj-y += cache.o
|
|
obj-y += extable.o
|
|
obj-y += interrupts.o
|
|
obj-$(CONFIG_CMD_KGDB) += kgdb.o
|
|
obj-$(CONFIG_CMD_IDE) += ide.o
|
|
obj-y += stack.o
|
|
obj-y += time.o
|
|
|
|
# Don't include the MPC5xxx special memcpy into the
|
|
# SPL U-Boot image. memcpy is used in the SPL NOR
|
|
# flash driver. And we need the real, fast memcpy
|
|
# here. We have no problems with unaligned access.
|
|
ifndef CONFIG_SPL_BUILD
|
|
# Workaround for local bus unaligned access problems
|
|
# on MPC512x and MPC5200
|
|
ifdef CONFIG_MPC512X
|
|
AFLAGS_ppcstring.o += -Dmemcpy=__memcpy
|
|
obj-y += memcpy_mpc5200.o
|
|
endif
|
|
ifdef CONFIG_MPC5200
|
|
AFLAGS_ppcstring.o += -Dmemcpy=__memcpy
|
|
obj-y += memcpy_mpc5200.o
|
|
endif
|
|
endif
|
|
|
|
endif # not minimal
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
|
|
endif
|
|
|