summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDipen Dudhat <dipen.dudhat@freescale.com>2009-10-08 13:33:29 +0530
committerKumar Gala <galak@kernel.crashing.org>2009-10-16 10:21:39 -0500
commitfad15096e3b34927444ba5f6133742d40d78a425 (patch)
treed1591ebb7c21d8981b8b4d08d56d6b61aec568d6 /board
parentf7780ec977e545b83bc5068e0957d640f1d98f13 (diff)
downloadu-boot-imx-fad15096e3b34927444ba5f6133742d40d78a425.zip
u-boot-imx-fad15096e3b34927444ba5f6133742d40d78a425.tar.gz
u-boot-imx-fad15096e3b34927444ba5f6133742d40d78a425.tar.bz2
ppc/P1_P2_RDB: On-chip BootROM support
On Chip BootROM support for P1 and P2 series RDB platforms. This patch is derived from latest On Chip BootROM support on MPC8536DS Signed-off-by: Dipen Dudhat <dipen.dudhat@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/p1_p2_rdb/config.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/freescale/p1_p2_rdb/config.mk b/board/freescale/p1_p2_rdb/config.mk
index 17abcf8..0f7a048 100644
--- a/board/freescale/p1_p2_rdb/config.mk
+++ b/board/freescale/p1_p2_rdb/config.mk
@@ -31,8 +31,20 @@ LDSCRIPT := $(TOPDIR)/cpu/$(CPU)/u-boot-nand.lds
endif
endif
+ifeq ($(CONFIG_MK_SDCARD), y)
+TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
+RESET_VECTOR_ADDRESS = 0xf8fffffc
+endif
+
+ifeq ($(CONFIG_MK_SPIFLASH), y)
+TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
+RESET_VECTOR_ADDRESS = 0xf8fffffc
+endif
+
ifndef TEXT_BASE
TEXT_BASE = 0xeff80000
endif
+ifndef RESET_VECTOR_ADDRESS
RESET_VECTOR_ADDRESS = 0xeffffffc
+endif