Re: [U-Boot] [PATCH v2] MIPS: VCT: Remove read_spareram reference

2009-09-18 Thread Scott Wood
On Sat, Sep 12, 2009 at 06:01:40PM +0900, Shinya Kuribayashi wrote:
 The commit ecad289fc6bd9d89ef4d5093cc7b6fd712fd0d29 (OneNAND: Remove
 unused read_spareram and add unlock_all as kernel does) forgot to remove
 a local reference to read_spareram in board/micronas/vct/ebi_onenand.c,
 which causes the following build failure when configured with OneNAND:
 
 ebi_onenand.c: In function 'onenand_board_init':
 ebi_onenand.c:196: error: 'struct onenand_chip' has no member named 
 'read_spareram'
 make[1]: *** [ebi_onenand.o] Error 1
 make[1]: *** Waiting for unfinished jobs
 make: *** [board/micronas/vct/libvct.a] Error 2
 
 Signed-off-by: Shinya Kuribayashi skuri...@pobox.com
 Acked-by: Stefan Roese s...@denx.de
 Cc: Kyungmin Park kyungmin.p...@samsung.com

Applied to u-boot-nand-flash.

-Scott
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v2] MIPS: VCT: Remove read_spareram reference

2009-09-12 Thread Shinya Kuribayashi
The commit ecad289fc6bd9d89ef4d5093cc7b6fd712fd0d29 (OneNAND: Remove
unused read_spareram and add unlock_all as kernel does) forgot to remove
a local reference to read_spareram in board/micronas/vct/ebi_onenand.c,
which causes the following build failure when configured with OneNAND:

ebi_onenand.c: In function 'onenand_board_init':
ebi_onenand.c:196: error: 'struct onenand_chip' has no member named 
'read_spareram'
make[1]: *** [ebi_onenand.o] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [board/micronas/vct/libvct.a] Error 2

Signed-off-by: Shinya Kuribayashi skuri...@pobox.com
Acked-by: Stefan Roese s...@denx.de
Cc: Kyungmin Park kyungmin.p...@samsung.com
---

 v2:
 - Cc: lines are corrected!
 - Add Acked-by: from Stefan.

 board/micronas/vct/ebi_onenand.c |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/board/micronas/vct/ebi_onenand.c b/board/micronas/vct/ebi_onenand.c
index 522b88f..1e8afa6 100644
--- a/board/micronas/vct/ebi_onenand.c
+++ b/board/micronas/vct/ebi_onenand.c
@@ -193,6 +193,5 @@ void onenand_board_init(struct mtd_info *mtd)
chip-write_word = ebi_nand_write_word;
 
chip-read_bufferram = ebi_read_bufferram;
-   chip-read_spareram = ebi_read_bufferram;
chip-write_bufferram = ebi_write_bufferram;
 }
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot