blob: e38af731bed519855f53c59119454c68de0056f0 [file] [log] [blame]
Kumar Galafd83aa82008-07-25 13:31:05 -05001#
2# Copyright 2008 Freescale Semiconductor.
3#
4# See file CREDITS for list of people who contributed to this
5# project.
6#
7# This program is free software; you can redistribute it and/or
8# modify it under the terms of the GNU General Public License as
9# published by the Free Software Foundation; either version 2 of
10# the License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20# MA 02111-1307 USA
21#
22
23#
24# mpc8536ds board
25#
Mingkai Huc2a6dca2009-09-23 15:20:37 +080026ifndef NAND_SPL
27ifeq ($(CONFIG_MK_NAND), y)
28TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
29LDSCRIPT := $(TOPDIR)/cpu/$(CPU)/u-boot-nand.lds
30endif
31endif
32
Mingkai Hua74e3952009-09-23 15:20:38 +080033ifeq ($(CONFIG_MK_SDCARD), y)
34TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
35RESET_VECTOR_ADDRESS = 0xf8fffffc
36endif
37
38ifeq ($(CONFIG_MK_SPIFLASH), y)
39TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
40RESET_VECTOR_ADDRESS = 0xf8fffffc
41endif
42
Kumar Galafd83aa82008-07-25 13:31:05 -050043ifndef TEXT_BASE
44TEXT_BASE = 0xeff80000
45endif
Kumar Gala6472af82009-09-09 11:40:41 -050046
Mingkai Hua74e3952009-09-23 15:20:38 +080047ifndef RESET_VECTOR_ADDRESS
Kumar Gala6472af82009-09-09 11:40:41 -050048RESET_VECTOR_ADDRESS = 0xeffffffc
Mingkai Hua74e3952009-09-23 15:20:38 +080049endif