mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
mxc nand: Access all ecc_status_result fields
On the NFC IP 1.1, the 32-bit ecc_status_result value comes from 2 consecutive 16-bit registers. This patch reads all the fields of this value, which makes a difference for 4-kiB NF pages. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
committed by
Scott Wood
parent
0e55ad7271
commit
c1db8dd62b
@@ -94,8 +94,7 @@ struct fsl_nfc_regs {
|
||||
u16 flash_addr;
|
||||
u16 flash_cmd;
|
||||
u16 config;
|
||||
u16 ecc_status_result;
|
||||
u16 ecc_status_result2;
|
||||
u32 ecc_status_result;
|
||||
u16 spare_area_size;
|
||||
u16 wrprot;
|
||||
u16 reserved3[2];
|
||||
|
||||
Reference in New Issue
Block a user