[U-Boot-Users] [PATCH] nand: Make 'nand dump.oob' actually work

2008-07-01 Thread Jason McMullan
Currently, nand dump.oob is a no-op. This commit makes it functional. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- common/cmd_nand.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 37198d2

[U-Boot-Users] [PATCH] mtd: SPI Flash: Winbond W25X16/WX2532/WX2564 support

2008-06-19 Thread Jason McMullan
100644 index 000..85e5b80 --- /dev/null +++ b/drivers/mtd/spi/winbond.c @@ -0,0 +1,331 @@ +/* + * Copyright 2008, Network Appliance Inc. + * Author: Jason McMullan [EMAIL PROTECTED] + * + */ + +#include common.h +#include malloc.h +#include spi_flash.h + +#include spi_flash_internal.h

[U-Boot-Users] [PATCH] mtd: SPI Flash: Support the ST Microelectronics M25P80 and M25P40

2008-06-19 Thread Jason McMullan
*spi_flash_probe_stmicro(struct spi_slave *spi, u8 *idcode); diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c new file mode 100644 index 000..4043cb3 --- /dev/null +++ b/drivers/mtd/spi/stmicro.c @@ -0,0 +1,320 @@ +/* + * Copyright 2008, Network Appliance Inc. + * Author: Jason McMullan [EMAIL

[U-Boot-Users] [PATCH] SPI Flash: Support the ST Microelectronics M25P80 and M25P40 SPI Flash

2008-06-09 Thread Jason McMullan
This commit adds MTD support for the M25P80 (1Mx8) and the M25P40 (512kx8) SPI Flash components from ST Microelectronics. Tested with the M25P40, but should work for the M25P80 according to the spec sheet. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- drivers/mtd/spi/Makefile

[U-Boot-Users] [PATCH] mips: When booting Linux images, add 'ethaddr' and 'eth1addr' to the environment

2008-06-08 Thread Jason McMullan
Add 'ethaddr' and 'eth1addr' to the Linux kernel environment if they are set in the U-Boot environment. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- lib_mips/bootm.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/lib_mips/bootm.c b/lib_mips/bootm.c

[U-Boot-Users] [PATCH] mips: Bring over optimized memset() routine from Linux.

2008-06-04 Thread Jason McMullan
This commit pulls over the memset() MIPS routine from Linux 2.6.26, which provides a 10x to 20x speedup over the generic byte-at-a-time routine. This is especially useful on platforms with manual ECC scrubbing, that require all of memory to be written at least once after a power cycle. ---

[U-Boot-Users] [PATCH] mips: Add an 'include/asm/errno.h', like all other architectures

2008-05-27 Thread Jason McMullan
All other u-boot architectures have an include/asm/errno.h, so this change adds it to the mips include/asm-mips headers also. Stolen from Linux 2.6.25. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- include/asm-mips/errno.h | 143 ++ 1 files

[U-Boot-Users] [PATCH] mips: If CONFIG_CMD_SPI is defined, call spi_init()

2008-05-21 Thread Jason McMullan
The mips architecture currently does not call 'spi_init()' in the generic board initialization routine is CONFIG_CMD_SPI is defined. This patch rectifies that problem. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- lib_mips/board.c |7 +++ 1 files changed, 7 insertions(+), 0

[U-Boot-Users] [PATCH] mips: Use 'CFG_MIPS_CLOCK' to compute the MIPS tick timebase

2008-05-20 Thread Jason McMullan
. Per-board patches to board config files are included. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- include/configs/dbau1x00.h |3 ++- include/configs/gth2.h |3 ++- include/configs/incaip.h|3 ++- include/configs/pb1x00.h|3 ++- include/configs/purple.h

[U-Boot-Users] [PATCH] Make sleep shell command is reliable for all architectures

2008-05-20 Thread Jason McMullan
for any number of seconds on all architectures. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- common/cmd_misc.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/common/cmd_misc.c b/common/cmd_misc.c index 126b538..2b84896 100644 --- a/common/cmd_misc.c +++ b

[U-Boot-Users] [PATCH] mips: Support to set CFG_HZ to 1000, consistent with other architectures

2008-05-20 Thread Jason McMullan
. The MIPS time code now has a software maintained 64-bit counter, however get_timer() must be called every few seconds for this counter to be fully reliable. Per-board patches to board config files are included. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- include/configs/dbau1x00.h |3

[U-Boot-Users] [PATCH] [resend] mips: Support to set CFG_HZ to 1000, consistent with other architectures

2008-05-20 Thread Jason McMullan
. The MIPS time code now has a software maintained 64-bit counter, however get_timer() must be called every few seconds for this counter to be fully reliable. Per-board patches to board config files are included. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- include/configs/dbau1x00.h |3

[U-Boot-Users] [PATCH] mips: tolerate the MIPS 'CFG_HZ' values in the MHZ range for NAND delays

2008-05-19 Thread Jason McMullan
Rewrite the nand_wait() FL_ERASING case to handle CFG_HZ values in the MHZ range. This is needed for mips processors, as the timer's timebase ticks at CPU clock frequency. Signed-off-by: Jason McMullan [EMAIL PROTECTED] --- drivers/mtd/nand/nand_base.c |7 +++ 1 files changed, 7

[U-Boot-Users] [PATCH] mips: Call 'nand_init()' in generic board initialization when CONFIG_CMD_NAND is set

2008-05-15 Thread Jason McMullan
--- lib_mips/board.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lib_mips/board.c b/lib_mips/board.c index 1645f2c..7237842 100644 --- a/lib_mips/board.c +++ b/lib_mips/board.c @@ -48,6 +48,8 @@ extern int incaip_set_cpuclk(void); extern ulong uboot_end_data;

[U-Boot-Users] [PATCH] mips: Call 'nand_init()' in generic board initialization when CONFIG_CMD_NAND is set

2008-05-15 Thread Jason McMullan
This patch add the standard 'nand_init()' call to the mips generic 'board_init_r()' call, bringing MIPS in line with the other architectures. Signed-off-by: Jason McMullan [EMAIL PROTECTED] - This SF.net email is sponsored

[U-Boot-Users] [PATCH] mips: Call 'nand_init()' in generic board initialization when CONFIG_CMD_NAND is set

2008-05-15 Thread Jason McMullan
--- lib_mips/board.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lib_mips/board.c b/lib_mips/board.c index 1645f2c..e33070d 100644 --- a/lib_mips/board.c +++ b/lib_mips/board.c @@ -28,6 +28,7 @@ #include version.h #include net.h #include environment.h