Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / include / asm / mach-imx / imx-nandbcb.h
index 033659a03899031010a661fc675ec1ae3e72c4b9..74c9031d4e7cef3123ab9f04f8070f99886b1bf5 100644 (file)
@@ -9,9 +9,11 @@
 
 #define FCB_FINGERPRINT                0x20424346      /* 'FCB' */
 #define FCB_VERSION_1          0x01000000
+#define FCB_FINGERPRINT_OFF    0x4             /* FCB fingerprint offset*/
 
-#define DBBT_FINGERPRINT2      0x54424244      /* 'DBBT' */
+#define DBBT_FINGERPRINT       0x54424244      /* 'DBBT' */
 #define DBBT_VERSION_1         0x01000000
+#define DBBT_FINGERPRINT_OFF   0x4             /* DBBT fingerprint offset*/
 
 struct dbbt_block {
        u32 checksum;   /* reserved on i.MX6 */
@@ -106,6 +108,18 @@ struct fcb_block {
 
        /* The swap position of main area in spare area */
        u32 spare_offset;
+
+       /* Actual for iMX7 only */
+       u32 onfi_sync_enable;
+       u32 onfi_sync_speed;
+       u32 onfi_sync_nand_data;
+       u32 reserved2[6];
+       u32 disbbm_search;
+       u32 disbbm_search_limit;
+       u32 reserved3[15];
+       u32 read_retry_enable;
+       u32 reserved4[1];
+       u32 fill_to_1024[183];
 };
 
 #endif /* _IMX_NAND_BCB_H_ */