Larry Johnson | 667a3d4 | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2002 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Larry Johnson | 667a3d4 | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 6 | # |
| 7 | # |
| 8 | # Korat (PPC440EPx) board |
| 9 | # |
| 10 | |
Larry Johnson | 667a3d4 | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 11 | PLATFORM_CPPFLAGS += -DCONFIG_440=1 |
| 12 | |
| 13 | ifeq ($(debug),1) |
| 14 | PLATFORM_CPPFLAGS += -DDEBUG |
| 15 | endif |
| 16 | |
Larry Johnson | 6768267 | 2008-03-17 11:10:35 -0500 | [diff] [blame] | 17 | ifeq ($(emul),1) |
| 18 | PLATFORM_CPPFLAGS += -fno-schedule-insns -fno-schedule-insns2 |
| 19 | endif |
| 20 | |
Larry Johnson | 667a3d4 | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 21 | ifeq ($(dbcr),1) |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 22 | PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8CFF0000 |
Larry Johnson | 6768267 | 2008-03-17 11:10:35 -0500 | [diff] [blame] | 23 | endif |
| 24 | |
Wolfgang Denk | 291ba1b | 2010-10-06 09:05:45 +0200 | [diff] [blame] | 25 | ifndef CONFIG_KORAT_PERMANENT |
Masahiro Yamada | e794494 | 2014-03-11 11:05:19 +0900 | [diff] [blame] | 26 | LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-F7FC.lds |
Larry Johnson | 667a3d4 | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 27 | endif |