X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Froms%2Fu-boot%2Farch%2Fmips%2Fcpu%2Fmips64%2Fconfig.mk;fp=qemu%2Froms%2Fu-boot%2Farch%2Fmips%2Fcpu%2Fmips64%2Fconfig.mk;h=c55eb7f2ee9089e042d566c873b3740370c52332;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/qemu/roms/u-boot/arch/mips/cpu/mips64/config.mk b/qemu/roms/u-boot/arch/mips/cpu/mips64/config.mk new file mode 100644 index 000000000..c55eb7f2e --- /dev/null +++ b/qemu/roms/u-boot/arch/mips/cpu/mips64/config.mk @@ -0,0 +1,23 @@ +# +# (C) Copyright 2003 +# Wolfgang Denk, DENX Software Engineering, +# +# SPDX-License-Identifier: GPL-2.0+ +# + +# +# Default optimization level for MIPS64 +# +# Note: Toolchains with binutils prior to v2.16 +# are no longer supported by U-Boot MIPS tree! +# +PLATFORM_CPPFLAGS += -DCONFIG_MIPS64 -march=mips64 +PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT +ifdef CONFIG_SYS_BIG_ENDIAN +PLATFORM_LDFLAGS += -m elf64btsmip +else +PLATFORM_LDFLAGS += -m elf64ltsmip +endif + +CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 \ + -T $(srctree)/examples/standalone/mips64.lds