Larry Johnson | c591dff | 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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Larry Johnson | c591dff | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 6 | # |
| 7 | # |
| 8 | # Korat (PPC440EPx) board |
| 9 | # |
| 10 | |
Larry Johnson | c591dff | 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 | 6433fa2 | 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 | c591dff | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 21 | ifeq ($(dbcr),1) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 22 | PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8CFF0000 |
Larry Johnson | 6433fa2 | 2008-03-17 11:10:35 -0500 | [diff] [blame] | 23 | endif |
| 24 | |
Wolfgang Denk | 2ae1824 | 2010-10-06 09:05:45 +0200 | [diff] [blame] | 25 | ifndef CONFIG_KORAT_PERMANENT |
Masahiro Yamada | 4379ac6 | 2014-03-11 11:05:19 +0900 | [diff] [blame^] | 26 | LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-F7FC.lds |
Larry Johnson | c591dff | 2007-12-27 11:28:51 -0500 | [diff] [blame] | 27 | endif |