/u-boot/drivers/mtd/nand/raw/ |
A D | nand_spl_loaders.c | 3 unsigned int block, lastblock; in nand_spl_load_image() local 7 block = offs / CONFIG_SYS_NAND_BLOCK_SIZE; in nand_spl_load_image() 12 while (block <= lastblock) { in nand_spl_load_image() 13 if (!nand_is_bad_block(block)) { in nand_spl_load_image() 16 nand_read_page(block, page, dst); in nand_spl_load_image() 38 block++; in nand_spl_load_image() 55 unsigned int block, lastblock; in nand_spl_adjust_offset() local 60 while (block <= lastblock) { in nand_spl_adjust_offset() 61 if (nand_is_bad_block(block)) { in nand_spl_adjust_offset() 66 block++; in nand_spl_adjust_offset() [all …]
|
A D | nand_spl_simple.c | 25 static int nand_command(int block, int page, uint32_t offs, in nand_command() argument 29 int page_addr = page + block * CONFIG_SYS_NAND_PAGE_COUNT; in nand_command() 62 static int nand_command(int block, int page, uint32_t offs, in nand_command() argument 66 int page_addr = page + block * CONFIG_SYS_NAND_PAGE_COUNT; in nand_command() 114 static int nand_is_bad_block(int block) in nand_is_bad_block() argument 119 nand_command(block, 0, CONFIG_SYS_NAND_BAD_BLOCK_POS, in nand_is_bad_block() 139 static int nand_read_page(int block, int page, uchar *dst) in nand_read_page() argument 151 nand_command(block, page, 0, NAND_CMD_READOOB); in nand_read_page() 153 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page() 170 static int nand_read_page(int block, int page, void *dst) in nand_read_page() argument [all …]
|
A D | am335x_spl_bch.c | 30 static int nand_command(int block, int page, uint32_t offs, in nand_command() argument 34 int page_addr = page + block * CONFIG_SYS_NAND_PAGE_COUNT; in nand_command() 129 static int nand_is_bad_block(int block) in nand_is_bad_block() argument 133 nand_command(block, 0, CONFIG_SYS_NAND_BAD_BLOCK_POS, in nand_is_bad_block() 150 static int nand_read_page(int block, int page, void *dst) in nand_read_page() argument 165 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page() 169 nand_command(block, page, data_pos, NAND_CMD_RNDOUT); in nand_read_page() 173 nand_command(block, page, oob_pos, NAND_CMD_RNDOUT); in nand_read_page()
|
A D | denali_spl.c | 154 static int nand_block_isbad(void *buf, int block) in nand_block_isbad() argument 158 ret = nand_read_oob(buf, block * pages_per_block); in nand_block_isbad() 189 int block, page, column, readlen; in nand_spl_load_image() local 196 block = page / pages_per_block; in nand_spl_load_image() 201 ret = nand_block_isbad(dst, block); in nand_spl_load_image() 206 block++; in nand_spl_load_image() 213 ret = nand_read_page(dst, block * pages_per_block + page); in nand_spl_load_image() 229 block++; in nand_spl_load_image()
|
A D | nand_bbt.c | 529 int startblock, block, dir; in search_bbt() local 558 for (block = 0; block < td->maxblocks; block++) { in search_bbt() 680 int block = startblock + dir * i; in write_bbt() local 687 page = block << in write_bbt() 997 block = i * nrblocks; in mark_bbt_region() 1003 block++; in mark_bbt_region() 1322 int block; in nand_isreserved_bbt() local 1337 int block, res; in nand_isbad_bbt() local 1340 res = bbt_get_entry(this, block); in nand_isbad_bbt() 1343 (unsigned int)offs, block, res); in nand_isbad_bbt() [all …]
|
/u-boot/drivers/mtd/onenand/ |
A D | onenand_spl.c | 32 static inline int onenand_block_address(int block) in onenand_block_address() argument 35 if (block & density_mask) in onenand_block_address() 36 return ONENAND_DDP_CHIP1 | (block ^ density_mask); in onenand_block_address() 38 return block; in onenand_block_address() 44 if (block & density_mask) in onenand_bufferram_address() 88 onenand_writew(onenand_block_address(block), in onenand_spl_read_page() 91 onenand_writew(onenand_bufferram_address(block), in onenand_spl_read_page() 151 onenand_spl_read_page(block, page, in onenand_spl_read_block() 157 onenand_spl_read_page(block, page, dst, psize); in onenand_spl_read_block() 172 uint32_t block; in onenand_spl_load_image() local [all …]
|
/u-boot/disk/ |
A D | part_amiga.c | 78 s32 *block = (s32 *)header; in sum_block() local 83 sum += *block++; in sum_block() 245 u32 block; in find_partition() local 260 while (block != 0xFFFFFFFF) in find_partition() 275 block = p->next; in find_partition() 278 } else block = 0xFFFFFFFF; in find_partition() 279 } else block = 0xFFFFFFFF; in find_partition() 282 if (block == 0xFFFFFFFF) in find_partition() 327 u32 block; in part_print_amiga() local 369 block = p->next; in part_print_amiga() [all …]
|
/u-boot/lib/bzip2/ |
A D | bzlib_blocksort.c | 401 c1 = block[i1]; c2 = block[i2]; in mainGtU() 405 c1 = block[i1]; c2 = block[i2]; in mainGtU() 409 c1 = block[i1]; c2 = block[i2]; in mainGtU() 413 c1 = block[i1]; c2 = block[i2]; in mainGtU() 417 c1 = block[i1]; c2 = block[i2]; in mainGtU() 421 c1 = block[i1]; c2 = block[i2]; in mainGtU() 425 c1 = block[i1]; c2 = block[i2]; in mainGtU() 429 c1 = block[i1]; c2 = block[i2]; in mainGtU() 433 c1 = block[i1]; c2 = block[i2]; in mainGtU() 437 c1 = block[i1]; c2 = block[i2]; in mainGtU() [all …]
|
/u-boot/drivers/block/ |
A D | Kconfig | 2 bool "Support block devices" 6 Enable support for block devices, such as SCSI, MMC and USB 19 bool "Support block devices in SPL" 23 Enable support for block devices, such as SCSI, MMC and USB 31 bool "Support block devices in TPL" 43 bool "Use block device cache" 47 This option enables a disk-block cache for all block devices. 53 bool "Use block device cache in SPL" 57 This option enables the disk-block cache in SPL 60 bool "Use block device cache in TPL" [all …]
|
/u-boot/board/toradex/common/ |
A D | Kconfig | 5 bool "Enable Toradex config block support" 8 The Toradex config block stored production data on the on-module 13 # Helper config to determine the correct default location of the cfg block 52 int "Toradex config block eMMC device ID" 56 int "Toradex config block eMMC partition ID" 60 int "Toradex config block offset" 62 Specify the byte offset of the Toradex config block within the flash 63 device the config block is stored on. 66 int "Toradex config block offset, second instance" 69 Specify the byte offset of the 2nd instance of the Toradex config block [all …]
|
/u-boot/drivers/xen/ |
A D | Kconfig | 2 bool "Xen para-virtualized block device" 8 block device driver. It communicates with a back-end driver 9 in another domain which drives the actual block device.
|
/u-boot/doc/board/toradex/ |
A D | verdin-imx8mm.rst | 18 .. code-block:: bash 26 .. code-block:: bash 34 .. code-block:: bash 44 .. code-block:: bash 54 .. code-block:: bash 63 .. code-block:: bash 79 .. code-block:: bash
|
A D | apalix-imx8.rst | 19 .. code-block:: bash 28 .. code-block:: bash 39 .. code-block:: bash 46 .. code-block:: bash 52 .. code-block:: bash 67 .. code-block:: bash 77 .. code-block:: bash
|
A D | colibri-imx8x.rst | 19 .. code-block:: bash 27 .. code-block:: bash 39 .. code-block:: bash 46 .. code-block:: bash 53 .. code-block:: bash 68 .. code-block:: bash 77 .. code-block:: bash
|
A D | apalix-imx8x.rst | 19 .. code-block:: bash 28 .. code-block:: bash 37 .. code-block:: bash 44 .. code-block:: bash 59 .. code-block:: bash 69 .. code-block:: bash
|
/u-boot/doc/build/ |
A D | gcc.rst | 18 .. code-block:: bash 24 .. code-block:: bash 41 .. code-block:: bash 47 .. code-block:: bash 74 .. code-block:: bash 80 .. code-block:: bash 91 .. code-block:: bash 97 .. code-block:: bash 106 .. code-block:: bash 112 .. code-block:: bash [all …]
|
A D | source.rst | 8 .. code-block:: bash 14 .. code-block:: bash 28 .. code-block:: bash
|
/u-boot/doc/board/freescale/ |
A D | mx6sabreauto.rst | 13 .. code-block:: bash 22 .. code-block:: bash 28 .. code-block:: bash 41 .. code-block:: bash 50 .. code-block:: bash 56 .. code-block:: bash 62 .. code-block:: bash 69 .. code-block:: bash
|
A D | mx6sabresd.rst | 25 .. code-block:: bash 34 .. code-block:: bash 40 .. code-block:: bash 47 .. code-block:: bash 66 .. code-block:: bash 76 .. code-block:: bash 85 .. code-block:: bash 91 .. code-block:: bash 97 .. code-block:: bash
|
A D | imx8mm_evk.rst | 23 .. code-block:: bash 31 .. code-block:: bash 41 .. code-block:: bash 50 .. code-block:: bash
|
A D | imx8mn_evk.rst | 23 .. code-block:: bash 31 .. code-block:: bash 41 .. code-block:: bash 50 .. code-block:: bash
|
A D | imx8qxp_mek.rst | 20 .. code-block:: bash 30 .. code-block:: bash 41 .. code-block:: bash 50 .. code-block:: bash 60 .. code-block:: bash
|
A D | imx8mq_evk.rst | 23 .. code-block:: bash 31 .. code-block:: bash 42 .. code-block:: bash 50 .. code-block:: bash
|
/u-boot/test/py/ |
A D | multiplexed_log.css | 27 .block { 34 .block-header { 40 .block-header:hover { 44 .block-trailer {
|
/u-boot/tools/ |
A D | kwboot.c | 359 block->soh = SOH; in kwboot_xm_makeblock() 360 block->pnum = pnum; in kwboot_xm_makeblock() 361 block->_pnum = ~block->pnum; in kwboot_xm_makeblock() 364 memcpy(&block->data[0], data, n); in kwboot_xm_makeblock() 365 memset(&block->data[n], 0, blksz - n); in kwboot_xm_makeblock() 367 block->csum = 0; in kwboot_xm_makeblock() 369 block->csum += block->data[i]; in kwboot_xm_makeblock() 382 rc = kwboot_tty_send(fd, block, sizeof(*block)); in kwboot_xm_sendblock() 436 struct kwboot_block block; in kwboot_xmodem() local 439 n = kwboot_xm_makeblock(&block, in kwboot_xmodem() [all …]
|