Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define NFC_ECC_STATUS_CORFAIL (0x80)
- #define NFC_ECC_STATUS_ERROR_COUNT (0x3F)
- #define NFC_ECC_STATUS_OFFSET (0x0C)
- /* [...] */
- /* nfc.c */
- if (*(uint32_t*)&NFC_SRAM_B1_REG(nfc_ptr, nandflash_ptr->VIRTUAL_PAGE_SIZE + NFC_ECC_STATUS_OFFSET) & NFC_ECC_STATUS_CORFAIL)
- /* [...] */
- /* nfc_wl.cpp */
- if((*(uint32_t*)&NFC_SRAM_B1_REG(nfc_ptr, nandflash_ptr->CORE_NANDFLASH.VIRTUAL_PAGE_SIZE + num_metadata_bytes + (num_ecc_bytes + 4))) & NFC_ECC_STATUS_CORFAIL)
- /* [...] */
- /* [...] */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement