mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "bloblist: refactor xferlist and bloblist"
Tom Rini <trini@konsulko.com> says: This small series separates "bloblist" and "standard passage" to allow for these similar concepts to explore solutions to problems without introduces breaking changes to the other. Link: https://lore.kernel.org/r/20250220000223.1044376-1-raymond.mao@linaro.org
This commit is contained in:
@@ -8,18 +8,16 @@
|
||||
#include <bloblist.h>
|
||||
#include "xferlist.h"
|
||||
|
||||
int xferlist_from_boot_arg(ulong addr, ulong size)
|
||||
int xferlist_from_boot_arg(ulong *addr)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = bloblist_check(saved_args[3], size);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = bloblist_check_reg_conv(saved_args[0], saved_args[2],
|
||||
saved_args[1]);
|
||||
saved_args[1], saved_args[3]);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return bloblist_reloc((void *)addr, size);
|
||||
*addr = bloblist_get_base();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user