Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
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()
Dfsmc_nand.c411 mtd = get_nand_dev_by_index(nand_curr_device); in fsmc_nand_switch_ecc()
Domap_gpmc.c896 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in omap_nand_switch_ecc()
/external/u-boot/drivers/dfu/
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()
/external/u-boot/board/siemens/draco/
Dboard.c263 nand_curr_device = 0; in board_late_init()
266 nand_curr_device = 1; in board_late_init()
/external/u-boot/include/
Dnand.h45 extern int nand_curr_device;
/external/u-boot/cmd/
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()
Dbootm.c454 int nand_dev = nand_curr_device; in do_imls_nand()
/external/u-boot/board/logicpd/omap3som/
Domap3logic.c238 int dev = nand_curr_device; in unlock_nand()
/external/u-boot/common/
Dsplash_source.c49 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in splash_nand_read_raw()
/external/u-boot/cmd/mvebu/
Dbubt.c315 mtd = get_nand_dev_by_index(nand_curr_device); in nand_burn_image()