diff options
| author | Tom Rini <[email protected]> | 2025-02-19 18:49:47 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-19 18:49:47 -0600 |
| commit | c33ccc87254c1efd2c445a04ed6dd3113641f99d (patch) | |
| tree | f864928aca43114fa4d01b62c839a60621bb1873 /arch/arm/lib | |
| parent | 5e4031a5f6397542948bdc87f67477d7af6bcff1 (diff) | |
| parent | 03a76b1a737fc9cf511aa7520999968ec3d2fd78 (diff) | |
Merge patch series "bloblist: refactor xferlist and bloblist"
Tom Rini <[email protected]> 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/[email protected]
Diffstat (limited to 'arch/arm/lib')
| -rw-r--r-- | arch/arm/lib/xferlist.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/lib/xferlist.c b/arch/arm/lib/xferlist.c index f9c5d88bd47..6425936d354 100644 --- a/arch/arm/lib/xferlist.c +++ b/arch/arm/lib/xferlist.c @@ -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; } |
