From 8b74bf31fe57edfc502f94e905977304eac943ca Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 11 Oct 2004 23:10:30 +0000 Subject: Cleanup --- board/dbau1x00/README | 8 ++++---- board/nc650/nc650.c | 6 +++--- board/omap1510inn/platform.S | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'board') diff --git a/board/dbau1x00/README b/board/dbau1x00/README index d8f9ecc..b37ff36 100644 --- a/board/dbau1x00/README +++ b/board/dbau1x00/README @@ -13,7 +13,7 @@ configurations in little endian mode. I named the board dbau1x00, to allow support for all three development boards ( dbau1000, dbau1100 and dbau1500 ). -Now there is a new board called dbau1550 also, which +Now there is a new board called dbau1550 also, which should be supported RSN. I only have a dbau1000, so my testing is limited @@ -25,10 +25,10 @@ to test new bootloaders without thrashing the YAMON boot loader delivered with board. NOTE! When you switch between the two boot flashes, the -base addresses will be swapped. +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. +to match the address where u-boot is located when you +actually launch. Ethernet only supported for mac0. diff --git a/board/nc650/nc650.c b/board/nc650/nc650.c index c2f0c79..e0fa76f 100644 --- a/board/nc650/nc650.c +++ b/board/nc650/nc650.c @@ -195,8 +195,7 @@ long int initdram (int board_type) * - short between data lines */ -static long int dram_size (long int mamr_value, long int *base, - long int maxsize) +static long int dram_size (long int mamr_value, long int *base, long int maxsize) { volatile immap_t *immap = (immap_t *) CFG_IMMR; volatile memctl8xx_t *memctl = &immap->im_memctl; @@ -209,9 +208,10 @@ static long int dram_size (long int mamr_value, long int *base, #if (CONFIG_COMMANDS & CFG_CMD_NAND) void nand_init(void) { + extern unsigned long nand_probe(unsigned long physadr); + unsigned long totlen = nand_probe(CFG_NAND_BASE); printf ("%4lu MB\n", totlen >> 20); } #endif - diff --git a/board/omap1510inn/platform.S b/board/omap1510inn/platform.S index 40b067e..8045e84 100644 --- a/board/omap1510inn/platform.S +++ b/board/omap1510inn/platform.S @@ -159,7 +159,7 @@ lock_end: */ mov r0, #0x10000000 /* Load physical SDRAM base. */ mov r1, pc /* Get current execution location. */ - /* Zero all but top 6 bits of PC, as they alone detect whether an + /* Zero all but top 6 bits of PC, as they alone detect whether an * address is in the range 0x1000:0000-0x13ff:ffff, the 64M sized * valid range for SDRAM on the OMAP 1510/5910. */ -- cgit v1.1