ARM: uniphier: remove #include <net.h> again from micro-support-card.c
[oweals/u-boot.git] / arch / arm / mach-keystone / config.mk
1 # Copyright 2015 Texas Instruments Incorporated, <www.ti.com>
2 #
3 # Lokesh Vutla <lokeshvutla@ti.com>
4 #
5 # SPDX-License-Identifier:     GPL-2.0+
6 #
7
8 include  $(srctree)/arch/arm/mach-omap2/config_secure.mk
9
10 ifndef CONFIG_SPL_BUILD
11 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
12 ALL-y += u-boot_HS_MLO
13 else
14 ALL-y += MLO
15 endif
16 endif
17
18 MKIMAGEFLAGS_u-boot-spl.gph = -A $(ARCH) -T gpimage -C none \
19         -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) -n SPL
20 spl/u-boot-spl.gph: spl/u-boot-spl.bin FORCE
21         $(call if_changed,mkimage)
22
23 OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \
24                           --gap-fill=0
25 u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE
26         $(call if_changed,pad_cat)
27
28 ifndef CONFIG_SPL_BUILD
29 MKIMAGEFLAGS_MLO = -A $(ARCH) -T gpimage -C none \
30         -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) -n U-Boot
31 MLO: u-boot.bin FORCE
32         $(call if_changed,mkimage)
33         @dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@
34 endif