mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-15 10:42:11 +00:00
d24f2d321d
When planning for more generalization and Makefile cleanup it became obvious that the introduction of a separate CONFIG_MK_ name space for config options that were set through scripting in the Makefile was not a good idea. Originally the idea was to provide a script-free approach to supply configuration options - there was no real need for a separate name space. But when we now convert the existing Makefile entries to make use of this approach, it would mean that we have to touch a large number of board config files and add #ifdef / #define sequences to "convert" from the CONFIG_MK_ to the CONFIG_ name space. It seems much cleaner to get rid of this somewhat arbitrary _MK string now for the few boards that actually use it. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
#
|
|
# Copyright 2008 Freescale Semiconductor.
|
|
#
|
|
# 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
|
|
#
|
|
|
|
#
|
|
# mpc8536ds board
|
|
#
|
|
ifndef NAND_SPL
|
|
ifeq ($(CONFIG_NAND), y)
|
|
TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
|
|
LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SDCARD), y)
|
|
TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
|
|
RESET_VECTOR_ADDRESS = 0xf8fffffc
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SPIFLASH), y)
|
|
TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
|
|
RESET_VECTOR_ADDRESS = 0xf8fffffc
|
|
endif
|
|
|
|
ifndef TEXT_BASE
|
|
TEXT_BASE = 0xeff80000
|
|
endif
|
|
|
|
ifndef RESET_VECTOR_ADDRESS
|
|
RESET_VECTOR_ADDRESS = 0xeffffffc
|
|
endif
|