Searched refs:bbt (Results 1 - 10 of 10) sorted by relevance
/u-boot/drivers/mtd/nand/ |
H A D | Makefile | 4 nandcore-objs := core.o bbt.o
|
H A D | bbt.c | 10 #define pr_fmt(fmt) "nand-bbt: " fmt 36 nand->bbt.cache = kzalloc(nwords, GFP_KERNEL); 37 if (!nand->bbt.cache) 52 kfree(nand->bbt.cache); 60 * Update the BBT. Currently a NOP function since on-flash bbt is not yet 83 unsigned long *pos = nand->bbt.cache + 116 unsigned long *pos = nand->bbt.cache +
|
/u-boot/drivers/mtd/onenand/ |
H A D | onenand_bbt.c | 113 bbm->bbt[i >> 3] |= 0x03 << (i & 0x6); 137 * The function creates a memory based bbt by scanning the device 163 res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03; 165 pr_debug("onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n", 202 bbm->bbt = malloc(len); 203 if (!bbm->bbt) 206 memset(bbm->bbt, 0x00, len); 221 free(bbm->bbt); 222 bbm->bbt = NULL;
|
H A D | onenand_base.c | 1207 * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan 1212 * OneNAND read out-of-band data from the spare area for bbt scan 1710 * @param allowbbt 1, if its allowed to access the bbt area 1908 if (bbm->bbt) 1909 bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1);
|
/u-boot/include/linux/mtd/ |
H A D | bbm.h | 21 * @pages: the page(s) where we find the bbt, used with option BBT_ABSPAGE 22 * when bbt is searched, then we store the found bbts pages here. 25 * @veroffs: offset of the bbt version counter in the oob are of the page 26 * @version: version read from the bbt page during scan 28 * @maxblocks: maximum number of blocks to search for a bbt. This number of 32 * bad) block in the stored bbt 55 /* The number of bits used per block in the bbt on the device */ 63 /* The bbt is at the given page, else we must scan for the bbt */ 65 /* bbt i 142 uint8_t *bbt; member in struct:bbm_info [all...] |
H A D | nand.h | 166 * @bbt: bad block table info 184 struct nand_bbt bbt; member in struct:nand_device 744 return !!nand->bbt.cache;
|
H A D | rawnand.h | 230 /* This option skips the bbt scan during initialization. */ 260 /* bbt has already been read */ 838 * @bbt_erase_shift: [INTERN] number of address bits in a bbt entry 885 * @bbt: [INTERN] bad block table pointer 976 uint8_t *bbt; member in struct:nand_chip
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 49 * 10b: block is reserved (to protect the bbt area) 56 * - the space necessary for a bbt in FLASH does not exceed a block boundary 84 uint8_t entry = chip->bbt[block >> BBT_ENTRY_SHIFT]; 93 chip->bbt[block >> BBT_ENTRY_SHIFT] |= msk; 166 * @num: the number of bbt descriptors to read 167 * @td: the bbt describtion table 263 * that the bbt bits are in consecutive order. 387 * assume that the bbt bits are in consecutive order. 519 * NAND_BBT_PERCHIP is given, each chip is searched for a bbt, which contains 523 * The bbt iden [all...] |
H A D | nand_util.c | 95 if (chip->bbt) { 96 kfree(chip->bbt); 98 chip->bbt = NULL; 119 ret == 1 ? "bad block" : "bbt reserved",
|
H A D | nand_base.c | 440 if (chip->bbt) { 489 if (!chip->bbt) 503 * @allowbbt: 1, if its allowed to access the bbt area 518 if (!chip->bbt) 3494 * @allowbbt: allow erasing the bbt area 4461 if (ofnode_read_bool(node, "nand-on-flash-bbt"))
|
Completed in 126 milliseconds