Searched refs:g_boot_ops (Results 1 – 1 of 1) sorted by relevance
47 static const struct flash_boot_ops *g_boot_ops; variable91 if (g_boot_ops->read(0, 4, g_part) == 0) { in rk_partition_init()94 desity = g_boot_ops->get_capacity(); in rk_partition_init()170 if (g_boot_ops->discard) in rkflash_blk_discard()171 ret = g_boot_ops->discard(sec, n_sec); in rkflash_blk_discard()200 ret = g_boot_ops->read(start, nsector, buf); in rkflash_blk_xfer()210 ret = g_boot_ops->write(start, nsector, buf); in rkflash_blk_xfer()420 ret = g_boot_ops->gc(); in nand_gc_do_work()661 part.size = g_boot_ops->get_capacity(); in rkflash_blk_register()697 if (g_boot_ops->vendor_read) { in rkflash_dev_vendor_read()[all …]