summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXiaobo Gu <xiaobo.gu@amlogic.com>2015-05-24 15:35:21 +0800
committerXiaobo Gu <xiaobo.gu@amlogic.com>2015-05-28 16:16:09 +0800
commit05da67b67655da12807fc6fd571163d38e3ffe01 (patch)
treecc7443c1160265416244e96b5fb8063f410f2f84 /Makefile
parentc33cbeca3705b14ae2279cf769598f6a62dcd7bb (diff)
downloadu-boot-odroid-c1-05da67b67655da12807fc6fd571163d38e3ffe01.tar.gz
GXBaby: Update ddr and timer code
This is a combination of 6 commits. 1). Update timer in uboot 2). Update timer compile fix 3). Make bl2 as release version. 4). Update ddr code. 1. Remove macro defines, use runtime config. Conflicts: arch/arm/cpu/armv8/common/firmware/plat/gxb/ddr/ddr.c arch/arm/include/asm/arch-gxb/ddr.h board/amlogic/gxb_skt_v1/firmware/timing.c 5). Update timer interface, fix define conflict 6). Update ddr code. Change-Id: If7d5fab1e200846c749d7eeb1813be7dc2545fc1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f0eb1d6a94..a1440c8528 100644
--- a/Makefile
+++ b/Makefile
@@ -864,6 +864,9 @@ FIP_ARGS += --bl32 $(FIP_FOLDER)/bl32.bin
endif
FIP_ARGS += --bl33 $(FIP_FOLDER)/bl33.bin
+BL2_BUILD_TYPE := release
+export BL2_BUILD_TYPE
+
.PHONY: fip.bin
fip.bin: u-boot.bin u-boot.hex
$(Q)cp u-boot.bin $(srctree)/fip/bl33.bin
@@ -873,7 +876,7 @@ fip.bin: u-boot.bin u-boot.hex
.PHONY : bl2.bin
bl2.bin: tools prepare
$(Q)$(MAKE) -C $(srctree)/$(CPUDIR)/common/firmware all FIRMWARE=$@
- $(Q)cp $(buildtree)/firmware/${SOC}/debug/bl2.bin bl2.bin
+ $(Q)cp $(buildtree)/firmware/${SOC}/${BL2_BUILD_TYPE}/bl2.bin bl2.bin
$(Q)cp bl2.bin $(srctree)/fip/bl2.bin
ifeq ($(CONFIG_NEED_BL301), y)