blob: 84aeaf3edca80fb557b2890a562b362e0850b2d9 [file] [log] [blame]
wdenk591dda52002-11-18 00:14:45 +00001#
2# (C) Copyright 2002
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +02003# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
wdenk591dda52002-11-18 00:14:45 +00004#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk591dda52002-11-18 00:14:45 +00006#
7
Graeme Russ9381c8a2011-02-12 15:11:21 +11008CROSS_COMPILE ?= i386-linux-
wdenk591dda52002-11-18 00:14:45 +00009
Masahiro Yamada4869aee2014-07-30 14:08:23 +090010PLATFORM_CPPFLAGS += -D__I386__ -Werror
Graeme Russ3fe48602011-02-12 15:11:24 +110011
12# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
13LDPPFLAGS += -DRESET_SEG_START=0xffff0000
14LDPPFLAGS += -DRESET_SEG_SIZE=0x10000
Simon Glass20ec2532014-11-14 18:18:25 -070015LDPPFLAGS += -DRESET_VEC_LOC=0xfffffff0
16LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
17LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"