summaryrefslogtreecommitdiff
path: root/board/korat/config.mk
diff options
context:
space:
mode:
authorLarry Johnson <lrj@acm.org>2008-03-17 11:10:35 -0500
committerStefan Roese <sr@denx.de>2008-03-27 10:52:03 +0100
commit6433fa202a91a6594dd48f06807ac38ba27fa0bb (patch)
tree80643189c0b3298c1c4b5763b12414c8f9e38bcb /board/korat/config.mk
parentf766cdf89b3a2a7634b8c5869f606150e332036c (diff)
downloadu-boot-imx-6433fa202a91a6594dd48f06807ac38ba27fa0bb.zip
u-boot-imx-6433fa202a91a6594dd48f06807ac38ba27fa0bb.tar.gz
u-boot-imx-6433fa202a91a6594dd48f06807ac38ba27fa0bb.tar.bz2
ppc4xx: Updates to Korat-specific code
This patch contains updates for changes for the Korat PPC440EPx board. These changes include: (1) Support for "permanent" and "upgradable" copies of U-Boot, as described in the new "doc/README.korat" file; (2) a new memory map for the registers in the board's CPLD; (3) a revised format for manufacturer's data in serial EEPROM; and (4) changes to track updates to U-Boot for the Sequoia board. Signed-off-by: Larry Johnson <lrj@acm.org>
Diffstat (limited to 'board/korat/config.mk')
-rw-r--r--board/korat/config.mk16
1 files changed, 13 insertions, 3 deletions
diff --git a/board/korat/config.mk b/board/korat/config.mk
index 39966e0..fa8374f 100644
--- a/board/korat/config.mk
+++ b/board/korat/config.mk
@@ -24,14 +24,24 @@
# Korat (PPC440EPx) board
#
-TEXT_BASE = 0xFFFA0000
-
PLATFORM_CPPFLAGS += -DCONFIG_440=1
ifeq ($(debug),1)
PLATFORM_CPPFLAGS += -DDEBUG
endif
+ifeq ($(emul),1)
+PLATFORM_CPPFLAGS += -fno-schedule-insns -fno-schedule-insns2
+endif
+
ifeq ($(dbcr),1)
-PLATFORM_CPPFLAGS += -DCFG_INIT_DBCR=0x8cff0000
+PLATFORM_CPPFLAGS += -DCFG_INIT_DBCR=0x8CFF0000
+endif
+
+ifeq ($(perm),1)
+PLATFORM_CPPFLAGS += -DCONFIG_KORAT_PERMANENT
+TEXT_BASE = 0xFFFA0000
+else
+TEXT_BASE = 0xF7F60000
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-F7FC.lds
endif