ref: 81473305d85d49658803680777a9f9528596f4a0
dir: /include/nandecc.h/
#pragma src "/usr/inferno/libnandfs" typedef enum NandEccError { NandEccErrorBad, NandEccErrorGood, NandEccErrorOneBit, NandEccErrorOneBitInEcc, } NandEccError; ulong nandecc(uchar buf[256]); NandEccError nandecccorrect(uchar buf[256], ulong calcecc, ulong *storedecc, int reportbad);