Commit a05e3f9a084fc8951d87745b3a91df246432df7d

Authored by Shinya Kuribayashi
Committed by Scott Wood
1 parent 984f10baac

MIPS: VCT: Remove read_spareram reference

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 <skuribay@pobox.com>
Acked-by: Stefan Roese <sr@denx.de>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

board/micronas/vct/ebi_onenand.c
... ... @@ -193,7 +193,6 @@
193 193 chip->write_word = ebi_nand_write_word;
194 194  
195 195 chip->read_bufferram = ebi_read_bufferram;
196   - chip->read_spareram = ebi_read_bufferram;
197 196 chip->write_bufferram = ebi_write_bufferram;
198 197 }