Searched refs:bank_sel (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/mtd/spi/ |
D | spi_flash.c | 126 u8 cmd, bank_sel = 0; in clean_bar() local 133 return spi_flash_write_common(flash, &cmd, 1, &bank_sel, 1); in clean_bar() 138 u8 cmd, bank_sel; in write_bar() local 141 bank_sel = offset / (SPI_FLASH_16MB_BOUN << flash->shift); in write_bar() 142 if (bank_sel == flash->bank_curr) in write_bar() 146 ret = spi_flash_write_common(flash, &cmd, 1, &bank_sel, 1); in write_bar() 153 flash->bank_curr = bank_sel; in write_bar() 473 int bank_sel = 0; in spi_flash_cmd_read_ops() local 509 bank_sel = flash->bank_curr; in spi_flash_cmd_read_ops() 512 (bank_sel + 1)) - offset; in spi_flash_cmd_read_ops()
|
/external/u-boot/board/freescale/p1010rdb/ |
D | p1010rdb.c | 60 u8 bank_sel; /* NOR Flash bank */ member
|