X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Favb_verify.h;h=1e787ba666872a200c97053f8ef723460bc21a2a;hb=49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd;hp=18278f829e41c7c2c8e0cfc1018e225c6374936c;hpb=bbddbef998b9bb37917c9340ac5280d06d224703;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/avb_verify.h b/include/avb_verify.h index 18278f8..1e787ba 100644 --- a/include/avb_verify.h +++ b/include/avb_verify.h @@ -38,7 +38,7 @@ struct mmc_part { int dev_num; struct mmc *mmc; struct blk_desc *mmc_blk; - disk_partition_t info; + struct disk_partition info; }; enum mmc_io_type { @@ -72,12 +72,12 @@ static inline uint64_t calc_offset(struct mmc_part *part, int64_t offset) static inline size_t get_sector_buf_size(void) { - return (size_t)CONFIG_FASTBOOT_BUF_SIZE; + return (size_t)CONFIG_AVB_BUF_SIZE; } static inline void *get_sector_buf(void) { - return map_sysmem(CONFIG_FASTBOOT_BUF_ADDR, CONFIG_FASTBOOT_BUF_SIZE); + return map_sysmem(CONFIG_AVB_BUF_ADDR, CONFIG_AVB_BUF_SIZE); } static inline bool is_buf_unaligned(void *buffer)