]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/mach-keystone/config.mk
ARM: keystone2: use detected ddr3a size
[people/ms/u-boot.git] / arch / arm / mach-keystone / config.mk
CommitLineData
cd43ddc0
NM
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
45fe4b40
LV
8ifndef CONFIG_SPL_BUILD
9ALL-y += MLO
10endif
11
cd43ddc0
NM
12MKIMAGEFLAGS_u-boot-spl.gph = -A $(ARCH) -T gpimage -C none \
13 -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) -n SPL
14spl/u-boot-spl.gph: spl/u-boot-spl.bin FORCE
15 $(call if_changed,mkimage)
16
17OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \
18 --gap-fill=0
1985abe2 19u-boot-spi.gph: spl/u-boot-spl.gph u-boot-dtb.img FORCE
cd43ddc0
NM
20 $(call if_changed,pad_cat)
21
5f586e9f
LV
22ifndef CONFIG_SPL_BUILD
23MKIMAGEFLAGS_MLO = -A $(ARCH) -T gpimage -C none \
cd43ddc0 24 -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) -n U-Boot
1985abe2 25MLO: u-boot-dtb.bin FORCE
cd43ddc0
NM
26 $(call if_changed,mkimage)
27 @dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@
5f586e9f 28endif