X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cmd%2Fblob.c;h=d3b6e454bf46d61b4ccd9c9fae47b19434903c77;hb=a715415bb5948c84cc44c601b193188990f7238b;hp=ac8b268e0b83735f7c487a425a8195b0d73f3d4f;hpb=82d72a1b9967cff4908f22c57536c3660f794401;p=u-boot diff --git a/cmd/blob.c b/cmd/blob.c index ac8b268e0b..d3b6e454bf 100644 --- a/cmd/blob.c +++ b/cmd/blob.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * * Command for encapsulating/decapsulating blob of memory. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -12,8 +11,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - /** * blob_decap() - Decapsulate the data as a blob * @key_mod: - Pointer to key modifier/key @@ -54,7 +51,7 @@ __weak int blob_encap(u8 *key_mod, u8 *src, u8 *dst, u32 len) */ static int do_blob(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) { - uint32_t key_addr, src_addr, dst_addr, len; + ulong key_addr, src_addr, dst_addr, len; uint8_t *km_ptr, *src_ptr, *dst_ptr; int enc, ret = 0;