3 # Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
5 # SPDX-License-Identifier: GPL-2.0+
9 # Default optimization level for MIPS64
11 # Note: Toolchains with binutils prior to v2.16
12 # are no longer supported by U-Boot MIPS tree!
14 MIPSFLAGS = -march=mips64
16 PLATFORM_CPPFLAGS += $(MIPSFLAGS)
17 PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT
18 ifdef CONFIG_SYS_BIG_ENDIAN
19 PLATFORM_LDFLAGS += -m elf64btsmip
21 PLATFORM_LDFLAGS += -m elf64ltsmip
24 CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 -T mips64.lds