From 4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 11 Oct 2004 23:03:10 +0000 Subject: * Enable NAND flash support for NC650 board. * Patch by Thomas Lange 07 Oct 2004: Updated README for DBAu1x00 boards to match current status --- board/dbau1x00/README | 34 ++++++++++++++++++++++------------ board/nc650/nc650.c | 10 ++++++++++ 2 files changed, 32 insertions(+), 12 deletions(-) (limited to 'board') diff --git a/board/dbau1x00/README b/board/dbau1x00/README index 024fbbe3ec..d8f9eccaa5 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 376dbbdca3..c2f0c79286 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 + -- cgit v1.2.3