blob: 42e0060094d96dfee99c3bb7b63ab37bc9dfa66f [file] [log] [blame]
Larry Johnsonc591dff2007-12-27 11:28:51 -05001#
2# (C) Copyright 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Larry Johnsonc591dff2007-12-27 11:28:51 -05006#
7#
8# Korat (PPC440EPx) board
9#
10
Larry Johnsonc591dff2007-12-27 11:28:51 -050011PLATFORM_CPPFLAGS += -DCONFIG_440=1
12
13ifeq ($(debug),1)
14PLATFORM_CPPFLAGS += -DDEBUG
15endif
16
Larry Johnson6433fa22008-03-17 11:10:35 -050017ifeq ($(emul),1)
18PLATFORM_CPPFLAGS += -fno-schedule-insns -fno-schedule-insns2
19endif
20
Larry Johnsonc591dff2007-12-27 11:28:51 -050021ifeq ($(dbcr),1)
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020022PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8CFF0000
Larry Johnson6433fa22008-03-17 11:10:35 -050023endif
24
Wolfgang Denk2ae18242010-10-06 09:05:45 +020025ifndef CONFIG_KORAT_PERMANENT
Masahiro Yamada4379ac62014-03-11 11:05:19 +090026LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-F7FC.lds
Larry Johnsonc591dff2007-12-27 11:28:51 -050027endif