summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-11 23:03:10 +0000
committerwdenk <wdenk>2004-10-11 23:03:10 +0000
commit4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 (patch)
tree94bd762d02b2d183f7a1ea81f179df4f2fa53c80 /board
parentd407bf52b5dfb96816969c126f14b35df1f233ae (diff)
downloadu-boot-imx-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.zip
u-boot-imx-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.tar.gz
u-boot-imx-4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638.tar.bz2
* Enable NAND flash support for NC650 board.
* Patch by Thomas Lange 07 Oct 2004: Updated README for DBAu1x00 boards to match current status
Diffstat (limited to 'board')
-rw-r--r--board/dbau1x00/README34
-rw-r--r--board/nc650/nc650.c10
2 files changed, 32 insertions, 12 deletions
diff --git a/board/dbau1x00/README b/board/dbau1x00/README
index 024fbbe..d8f9ecc 100644
--- a/board/dbau1x00/README
+++ b/board/dbau1x00/README
@@ -1,30 +1,40 @@
-By Thomas.Lange@corelatus.se 2003-10-06
+By Thomas.Lange@corelatus.se 2004-Oct-05
----------------------------------------
-DbAu1000 is a development board from AMD containing
-an Alchemy AU1000 with mips32 core.
+DbAu1xx0 are development boards from AMD containing
+an Alchemy AU1xx0 series cpu with mips32 core.
+Existing cpu:s are Au1000, Au1100, Au1500 and Au1550
Limitations & comments
----------------------
-I assume that you set board to BIG endian!
-Little endian not tested, most probably broken.
+Support was originally big endian only.
+I have not tested, but several u-boot users report working
+configurations in little endian mode.
I named the board dbau1x00, to allow
support for all three development boards
-some day ( dbau1000, dbau1100 and dbau1500 ).
+( dbau1000, dbau1100 and dbau1500 ).
+Now there is a new board called dbau1550 also, which
+should be supported RSN.
-I only have a dbau1000, so all testing is limited
-to this board!
+I only have a dbau1000, so my testing is limited
+to this board.
The board has two different flash banks, that can
be selected via dip switch. This makes it possible
to test new bootloaders without thrashing the YAMON
-boot loader deliviered with board.
+boot loader delivered with board.
+
+NOTE! When you switch between the two boot flashes, the
+base addresses will be swapped.
+Have this in mind when you compile u-boot. TEXT_BASE has
+to match the address where u-boot is located when you
+actually launch.
Ethernet only supported for mac0.
-Pcmcia only supported for slot 0, only 3.3V.
+PCMCIA only supported for slot 0, only 3.3V.
-Pcmcia IDE tested with Sandisk Compact Flash and
+PCMCIA IDE tested with Sandisk Compact Flash and
IBM microdrive.
###################################
@@ -32,7 +42,7 @@ IBM microdrive.
###################################
If you partition a disk on another system (e.g. laptop),
all bytes will be swapped on 16bit level when using
-PCMCIA!!!!
+PCMCIA and running cpu in big endian mode!!!!
This is probably due to an error in Au1000 chip.
diff --git a/board/nc650/nc650.c b/board/nc650/nc650.c
index 376dbbd..c2f0c79 100644
--- a/board/nc650/nc650.c
+++ b/board/nc650/nc650.c
@@ -205,3 +205,13 @@ static long int dram_size (long int mamr_value, long int *base,
return (get_ram_size(base, maxsize));
}
+
+#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+void nand_init(void)
+{
+ unsigned long totlen = nand_probe(CFG_NAND_BASE);
+
+ printf ("%4lu MB\n", totlen >> 20);
+}
+#endif
+