nand_default_block_markbad(9) centos man page | unix.com

Man Page: nand_default_block_markbad

Operating Environment: centos

Section: 9

NAND_DEFAULT_BLOCK_M(9) 				    Internal Functions Provided 				   NAND_DEFAULT_BLOCK_M(9)

NAME
nand_default_block_markbad - [DEFAULT] mark a block bad
SYNOPSIS
int nand_default_block_markbad(struct mtd_info * mtd, loff_t ofs);
ARGUMENTS
mtd MTD device structure ofs offset from device start
DESCRIPTION
This is the default implementation, which can be overridden by a hardware specific driver. We try operations in the following order, according to our bbt_options (NAND_BBT_NO_OOB_BBM and NAND_BBT_USE_FLASH): (1) erase the affected block, to allow OOB marker to be written cleanly (2) update in-memory BBT (3) write bad block marker to OOB area of affected block (4) update flash-based BBT Note that we retain the first error encountered in (3) or (4), finish the procedures, and dump the error in the end.
AUTHOR
Thomas Gleixner <tglx@linutronix.de> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 NAND_DEFAULT_BLOCK_M(9)
Related Man Pages
struct_nand_chip(9) - centos
struct_nand_ecc_ctrl(9) - centos
request_threaded_irq(9) - centos
badsect(8) - netbsd
badsect(8) - freebsd
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
Controlling user input