Home
last modified time | relevance | path

Searched refs:nand_curr_device (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand.c17 int nand_curr_device = -1; variable
72 if (nand_curr_device == -1) in nand_register()
73 nand_curr_device = devnum; in nand_register()
170 board_nand_select_device(mtd_to_nand(get_nand_dev_by_index(nand_curr_device)), in nand_init()
171 nand_curr_device); in nand_init()
H A Dfsmc_nand.c411 mtd = get_nand_dev_by_index(nand_curr_device); in fsmc_nand_switch_ecc()
H A Domap_gpmc.c896 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in omap_nand_switch_ecc()
/openbmc/u-boot/drivers/dfu/
H A Ddfu_nand.c39 mtd = get_nand_dev_by_index(nand_curr_device); in nand_block_op()
41 if (nand_curr_device < 0 || in nand_block_op()
42 nand_curr_device >= CONFIG_SYS_MAX_NAND_DEVICE || in nand_block_op()
147 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in dfu_flush_medium_nand()
150 if (nand_curr_device < 0 || in dfu_flush_medium_nand()
151 nand_curr_device >= CONFIG_SYS_MAX_NAND_DEVICE || in dfu_flush_medium_nand()
/openbmc/u-boot/board/siemens/draco/
H A Dboard.c263 nand_curr_device = 0; in board_late_init()
266 nand_curr_device = 1; in board_late_init()
/openbmc/u-boot/board/logicpd/omap3som/
H A Domap3logic.c197 int dev = nand_curr_device; in unlock_nand()
/openbmc/u-boot/include/
H A Dnand.h45 extern int nand_curr_device;
/openbmc/u-boot/cmd/
H A Dnand.c123 if (nand_curr_device == dev) in set_dev()
128 nand_curr_device = dev; in set_dev()
387 int dev = nand_curr_device; in do_nand()
H A Dbootm.c457 int nand_dev = nand_curr_device; in do_imls_nand()
/openbmc/u-boot/common/
H A Dsplash_source.c49 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in splash_nand_read_raw()
/openbmc/u-boot/cmd/mvebu/
H A Dbubt.c315 mtd = get_nand_dev_by_index(nand_curr_device); in nand_burn_image()