summaryrefslogtreecommitdiff
path: root/board/xpedite1k/xpedite1k.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-07-17 19:01:08 -0500
committerStefan Roese <sr@denx.de>2009-07-24 06:42:32 +0200
commit42735815dd9ba39efe51203868aebce04053c8de (patch)
tree5b6b90d0d0a7f971cbd72f52b73546609b5976e1 /board/xpedite1k/xpedite1k.c
parente02990764c7415c84668823a0fc8c5b4dd8d8cf0 (diff)
downloadu-boot-imx-42735815dd9ba39efe51203868aebce04053c8de.zip
u-boot-imx-42735815dd9ba39efe51203868aebce04053c8de.tar.gz
u-boot-imx-42735815dd9ba39efe51203868aebce04053c8de.tar.bz2
xpedite1k: Add support for optional flashes
The XPedite1000 can be built with 4 total flashes: - 512KB AMD socketed - 16MB Intel soldered - 2 x 32MB AMD MirrorBit flashes Add support for the optional 2 32MB CFI-compliant AMD flashes Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/xpedite1k/xpedite1k.c')
-rw-r--r--board/xpedite1k/xpedite1k.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/xpedite1k/xpedite1k.c b/board/xpedite1k/xpedite1k.c
index 369f76a..8a3503d 100644
--- a/board/xpedite1k/xpedite1k.c
+++ b/board/xpedite1k/xpedite1k.c
@@ -46,6 +46,10 @@ int board_early_init_f(void)
mtebc(pb0cr, 0xff098000); /* BAS=0xff0 16MB R/W 8-bit */
mtebc(pb1ap, 0x04055200); /* 512KB Socketed AMD FLASH */
mtebc(pb1cr, 0xfe018000); /* BAS=0xfe0 1MB R/W 8-bit */
+ mtebc(pb6ap, 0x05006400); /* 32-64MB AMD MirrorBit FLASH */
+ mtebc(pb6cr, 0xf00da000); /* BAS=0xf00 64MB R/W i6-bit */
+ mtebc(pb7ap, 0x05006400); /* 32-64MB AMD MirrorBit FLASH */
+ mtebc(pb7cr, 0xf40da000); /* BAS=0xf40 64MB R/W 16-bit */
/*
* Setup the interrupt controller polarities, triggers, etc.