Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2008 |
| 3 | # Stefan Roese, DENX Software Engineering, sr@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 6 | # |
| 7 | # |
| 8 | # AMCC 460EX Reference Platform (Canyonlands) board |
| 9 | # |
| 10 | |
| 11 | # |
Wolfgang Denk | 0708bc6 | 2010-10-07 21:51:12 +0200 | [diff] [blame] | 12 | # CONFIG_SYS_TEXT_BASE for SPL: |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 13 | # |
| 14 | # On 460EX platforms the SPL is located at 0xfffff000...0xffffffff, |
| 15 | # in the last 4kBytes of memory space in cache. |
| 16 | # We will copy this SPL into internal SRAM in start.S. So we set |
Wolfgang Denk | 0708bc6 | 2010-10-07 21:51:12 +0200 | [diff] [blame] | 17 | # CONFIG_SYS_TEXT_BASE to starting address in internal SRAM here. |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 18 | # |
Wolfgang Denk | 0708bc6 | 2010-10-07 21:51:12 +0200 | [diff] [blame] | 19 | CONFIG_SYS_TEXT_BASE = 0xE3003000 |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 20 | |
Stefan Roese | 147388e | 2008-04-08 10:33:29 +0200 | [diff] [blame] | 21 | # PAD_TO used to generate a 128kByte binary needed for the combined image |
Wolfgang Denk | 0708bc6 | 2010-10-07 21:51:12 +0200 | [diff] [blame] | 22 | # -> PAD_TO = CONFIG_SYS_TEXT_BASE + 0x20000 |
Stefan Roese | 147388e | 2008-04-08 10:33:29 +0200 | [diff] [blame] | 23 | PAD_TO = 0xE3023000 |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 24 | |
| 25 | PLATFORM_CPPFLAGS += -DCONFIG_440=1 |
| 26 | |
| 27 | ifeq ($(debug),1) |
| 28 | PLATFORM_CPPFLAGS += -DDEBUG |
| 29 | endif |
| 30 | |
| 31 | ifeq ($(dbcr),1) |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 32 | PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000 |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 33 | endif |