blob: 6cc8fa30f35d20cf1ccfde1c4103c0e118bd6a48 [file] [log] [blame]
Stefan Roese42743512007-06-01 15:27:11 +02001#
2# (C) Copyright 2007
3# Stefan Roese, DENX Software Engineering, sr@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stefan Roese42743512007-06-01 15:27:11 +02006#
7#
8# AMCC 440EP Reference Platform (Bamboo) board
9#
10
11#
Wolfgang Denk0708bc62010-10-07 21:51:12 +020012# CONFIG_SYS_TEXT_BASE for SPL:
Stefan Roese42743512007-06-01 15:27:11 +020013#
14# On 440EP(x) 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 instruction-cache in start.S. So we set
Wolfgang Denk0708bc62010-10-07 21:51:12 +020017# CONFIG_SYS_TEXT_BASE to starting address in i-cache here.
Stefan Roese42743512007-06-01 15:27:11 +020018#
Wolfgang Denk0708bc62010-10-07 21:51:12 +020019CONFIG_SYS_TEXT_BASE = 0x00800000
Stefan Roese42743512007-06-01 15:27:11 +020020
21# PAD_TO used to generate a 16kByte binary needed for the combined image
Wolfgang Denk0708bc62010-10-07 21:51:12 +020022# -> PAD_TO = CONFIG_SYS_TEXT_BASE + 0x4000
Stefan Roese42743512007-06-01 15:27:11 +020023PAD_TO = 0x00804000
24
25PLATFORM_CPPFLAGS += -DCONFIG_440=1
26
27ifeq ($(debug),1)
28PLATFORM_CPPFLAGS += -DDEBUG
29endif
30
31ifeq ($(dbcr),1)
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020032PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000
Stefan Roese42743512007-06-01 15:27:11 +020033endif