X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fkorat%2Fconfig.mk;h=42e0060094d96dfee99c3bb7b63ab37bc9dfa66f;hb=7ae350a0305de592faa8903255c988d4e6afb194;hp=fa8374f17f77c0e3f35ed95ee2863b4c34492f51;hpb=a1b215e2a2a013327693f2fb990957b746f26cf5;p=u-boot diff --git a/board/korat/config.mk b/board/korat/config.mk index fa8374f17f..42e0060094 100644 --- a/board/korat/config.mk +++ b/board/korat/config.mk @@ -2,23 +2,7 @@ # (C) Copyright 2002 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. # -# See file CREDITS for list of people who contributed to this -# project. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier: GPL-2.0+ # # # Korat (PPC440EPx) board @@ -35,13 +19,9 @@ PLATFORM_CPPFLAGS += -fno-schedule-insns -fno-schedule-insns2 endif ifeq ($(dbcr),1) -PLATFORM_CPPFLAGS += -DCFG_INIT_DBCR=0x8CFF0000 +PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8CFF0000 endif -ifeq ($(perm),1) -PLATFORM_CPPFLAGS += -DCONFIG_KORAT_PERMANENT -TEXT_BASE = 0xFFFA0000 -else -TEXT_BASE = 0xF7F60000 -LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-F7FC.lds +ifndef CONFIG_KORAT_PERMANENT +LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-F7FC.lds endif