.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "READ_ABS_BBT" "9" "09 October 2005" "" "" .SH NAME read_abs_bbt \- [GENERIC] Read the bad block table starting at a given page .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int read_abs_bbt (struct mtd_info * \fImtd\fB, uint8_t * \fIbuf\fB, struct nand_bbt_descr * \fItd\fB, int \fIchip\fB); \fR .SH "ARGUMENTS" .TP \fB\fImtd\fB\fR MTD device structure .TP \fB\fIbuf\fB\fR temporary buffer .TP \fB\fItd\fB\fR descriptor for the bad block table .TP \fB\fIchip\fB\fR read the table for a specific chip, -1 read all chips. Applies only if NAND_BBT_PERCHIP option is set .SH "DESCRIPTION" .PP Read the bad block table for all chips starting at a given page We assume that the bbt bits are in consecutive order.