]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/config.mk
i.MX6DQ/DLS: Add pad MX6_PAD_GPIO_1__USB_OTG_ID
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / config.mk
1 #
2 # (C) Copyright 2002
3 # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
9
10 PLATFORM_CPPFLAGS += -march=armv5te
11 # =========================================================================
12 #
13 # Supply options according to compiler version
14 #
15 # =========================================================================
16 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
17 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
18
19 ifneq ($(CONFIG_IMX_CONFIG),)
20 ifdef CONFIG_SPL
21 ifdef CONFIG_SPL_BUILD
22 ALL-y   += $(OBJTREE)/SPL
23 endif
24 else
25 ALL-y   += $(obj)u-boot.imx
26 endif
27 endif