disk: part: fix compile error in spl
undefined reference to `rk_avb_append_part_slot' Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I21d44387affdc11708e4b091d51850eaaaa2d2dc
This commit is contained in:
parent
f141910278
commit
db7f180f86
|
|
@ -688,11 +688,11 @@ int part_get_info_by_name(struct blk_desc *dev_desc, const char *name,
|
|||
part_drv = part_driver_lookup_type(dev_desc);
|
||||
if (!part_drv)
|
||||
return -1;
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
/* 1. Query partition with A/B slot suffix */
|
||||
if (rk_avb_append_part_slot(name, name_slot))
|
||||
return -1;
|
||||
|
||||
#endif
|
||||
retry:
|
||||
debug("## Query partition(%d): %s\n", none_slot_try, name_slot);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue