wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2002 |
Albert ARIBAUD | 60fbc8d | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 3 | # Daniel Engström, Omicron Ceti AB, daniel@omicron.se. |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Graeme Russ | 9381c8a | 2011-02-12 15:11:21 +1100 | [diff] [blame] | 8 | CROSS_COMPILE ?= i386-linux- |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 9 | |
Masahiro Yamada | 4869aee | 2014-07-30 14:08:23 +0900 | [diff] [blame] | 10 | PLATFORM_CPPFLAGS += -D__I386__ -Werror |
Graeme Russ | 3fe4860 | 2011-02-12 15:11:24 +1100 | [diff] [blame] | 11 | |
| 12 | # DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING! |
| 13 | LDPPFLAGS += -DRESET_SEG_START=0xffff0000 |
| 14 | LDPPFLAGS += -DRESET_SEG_SIZE=0x10000 |
Simon Glass | 20ec253 | 2014-11-14 18:18:25 -0700 | [diff] [blame] | 15 | LDPPFLAGS += -DRESET_VEC_LOC=0xfffffff0 |
| 16 | LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16) |
| 17 | LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)" |