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
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
*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
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
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
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.
---
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
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
.
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
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
.
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
.
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
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
---
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;
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
---
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
16 matches
Mail list logo