summaryrefslogtreecommitdiffstats
path: root/include/fsl_nfc.h
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2012-08-13 22:49:42 +0200
committerScott Wood <scottwood@freescale.com>2012-09-17 19:42:46 -0500
commitc1db8dd62b337372a08942e1c5945a8590afbc58 (patch)
tree62cff26c6d18c4d7ac88ce615fbdc6f9d10475aa /include/fsl_nfc.h
parent0e55ad7271259b1de183fb5329ea7f07774e368d (diff)
downloadtalos-obmc-uboot-c1db8dd62b337372a08942e1c5945a8590afbc58.tar.gz
talos-obmc-uboot-c1db8dd62b337372a08942e1c5945a8590afbc58.zip
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>
Diffstat (limited to 'include/fsl_nfc.h')
-rw-r--r--include/fsl_nfc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fsl_nfc.h b/include/fsl_nfc.h
index 1c16c71d45..c248cef654 100644
--- a/include/fsl_nfc.h
+++ b/include/fsl_nfc.h
@@ -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];
OpenPOWER on IntegriCloud