projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git]
/
arch
/
arm
/
mach-imx
/
cmd_dek.c
diff --git
a/arch/arm/mach-imx/cmd_dek.c
b/arch/arm/mach-imx/cmd_dek.c
index 62cd56e096e9474e0aea744ec3907e9a243c11c6..49dd473af72e577a6792ad56645af6ad650cdd0d 100644
(file)
--- a/
arch/arm/mach-imx/cmd_dek.c
+++ b/
arch/arm/mach-imx/cmd_dek.c
@@
-1,14
+1,13
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2008-2015 Freescale Semiconductor, Inc.
*
/*
* Copyright 2008-2015 Freescale Semiconductor, Inc.
*
- * SPDX-License-Identifier: GPL-2.0+
- *
* Command for encapsulating DEK blob
*/
#include <common.h>
#include <command.h>
* Command for encapsulating DEK blob
*/
#include <common.h>
#include <command.h>
-#include <
environment
.h>
+#include <
log
.h>
#include <malloc.h>
#include <asm/byteorder.h>
#include <linux/compiler.h>
#include <malloc.h>
#include <asm/byteorder.h>
#include <linux/compiler.h>
@@
-56,7
+55,8
@@
static int blob_encap_dek(const u8 *src, u8 *dst, u32 len)
* Returns zero on success, CMD_RET_USAGE in case of misuse and negative
* on error.
*/
* Returns zero on success, CMD_RET_USAGE in case of misuse and negative
* on error.
*/
-static int do_dek_blob(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
+static int do_dek_blob(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
uint32_t src_addr, dst_addr, len;
uint8_t *src_ptr, *dst_ptr;
{
uint32_t src_addr, dst_addr, len;
uint8_t *src_ptr, *dst_ptr;