mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 12:38:27 +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) {
|
while (i < pages) {
|
||||||
select_chip(cur / ppb);
|
select_chip(cur / ppb);
|
||||||
#if 1
|
if (cur < 8) {
|
||||||
if ((pagesize == 4096) && (cur < 8)) {
|
|
||||||
ecccnt = 4;
|
ecccnt = 4;
|
||||||
oobsize = 64;
|
oobsize = 64;
|
||||||
ecc_pos = 6;
|
ecc_pos = 6;
|
||||||
@ -573,7 +572,6 @@ restart:
|
|||||||
/* Skip 16KB after nand_spl if pagesize=4096 */
|
/* Skip 16KB after nand_spl if pagesize=4096 */
|
||||||
if ((pagesize == 4096) && (cur == 8))
|
if ((pagesize == 4096) && (cur == 8))
|
||||||
tmpbuf += 16 * 1024;
|
tmpbuf += 16 * 1024;
|
||||||
#endif
|
|
||||||
|
|
||||||
if ((cur % ppb) == 0) {
|
if ((cur % ppb) == 0) {
|
||||||
if (nand_check_block(cur / ppb)) {
|
if (nand_check_block(cur / ppb)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user