Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c286 struct ubi_fm_scan_pool *fmpl1, *fmpl2; in ubi_attach_fastmap() local
321 fmpl2 = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
322 fm_pos += sizeof(*fmpl2); in ubi_attach_fastmap()
325 if (be32_to_cpu(fmpl2->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
327 be32_to_cpu(fmpl2->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
332 wl_pool_size = be16_to_cpu(fmpl2->size); in ubi_attach_fastmap()
334 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap()
467 ret = scan_pool(ubi, fmpl2->pebs, wl_pool_size); in ubi_attach_fastmap()