mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-25 07:04:39 +02:00
[xburst] what even the pagesize is, the first 8 page use static ecc parameters
This commit is contained in:
parent
f3237cab36
commit
289379e302
@ -559,8 +559,7 @@ restart:
|
||||
|
||||
while (i < pages) {
|
||||
select_chip(cur / ppb);
|
||||
#if 1
|
||||
if ((pagesize == 4096) && (cur < 8)) {
|
||||
if (cur < 8) {
|
||||
ecccnt = 4;
|
||||
oobsize = 64;
|
||||
ecc_pos = 6;
|
||||
@ -573,7 +572,6 @@ restart:
|
||||
/* Skip 16KB after nand_spl if pagesize=4096 */
|
||||
if ((pagesize == 4096) && (cur == 8))
|
||||
tmpbuf += 16 * 1024;
|
||||
#endif
|
||||
|
||||
if ((cur % ppb) == 0) {
|
||||
if (nand_check_block(cur / ppb)) {
|
||||
|
Loading…
Reference in New Issue
Block a user