]> git.ipfire.org Git - people/ms/u-boot.git/blame - nand_spl/board/amcc/bamboo/config.mk
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / nand_spl / board / amcc / bamboo / config.mk
CommitLineData
cf959c7d
SR
1#
2# (C) Copyright 2007
3# Stefan Roese, DENX Software Engineering, sr@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
cf959c7d
SR
6#
7#
8# AMCC 440EP Reference Platform (Bamboo) board
9#
10
11#
14d0a02a 12# CONFIG_SYS_TEXT_BASE for SPL:
cf959c7d
SR
13#
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
14d0a02a 17# CONFIG_SYS_TEXT_BASE to starting address in i-cache here.
cf959c7d 18#
14d0a02a 19CONFIG_SYS_TEXT_BASE = 0x00800000
cf959c7d
SR
20
21# PAD_TO used to generate a 16kByte binary needed for the combined image
14d0a02a 22# -> PAD_TO = CONFIG_SYS_TEXT_BASE + 0x4000
cf959c7d
SR
23PAD_TO = 0x00804000
24
25PLATFORM_CPPFLAGS += -DCONFIG_440=1
26
27ifeq ($(debug),1)
28PLATFORM_CPPFLAGS += -DDEBUG
29endif
30
31ifeq ($(dbcr),1)
6d0f6bcf 32PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000
cf959c7d 33endif