projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configs: rpi: set NR_DRAM_BANKS to four
[oweals/u-boot.git]
/
cmd
/
setexpr.c
diff --git
a/cmd/setexpr.c
b/cmd/setexpr.c
index af210225f1438727e846a17ccaa88f60b10f0372..770dc24d2b7a32579a05c8aed36b40bc234252b6 100644
(file)
--- a/
cmd/setexpr.c
+++ b/
cmd/setexpr.c
@@
-1,8
+1,7
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2008 Freescale Semiconductor, Inc.
* Copyright 2013 Wolfgang Denk <wd@denx.de>
/*
* Copyright 2008 Freescale Semiconductor, Inc.
* Copyright 2013 Wolfgang Denk <wd@denx.de>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
/*
*/
/*
@@
-12,6
+11,8
@@
#include <common.h>
#include <config.h>
#include <command.h>
#include <common.h>
#include <config.h>
#include <command.h>
+#include <env.h>
+#include <log.h>
#include <mapmem.h>
static ulong get_arg(char *s, int w)
#include <mapmem.h>
static ulong get_arg(char *s, int w)
@@
-290,7
+291,8
@@
static int regex_sub(const char *name,
}
#endif
}
#endif
-static int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_setexpr(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
ulong a, b;
ulong value;
{
ulong a, b;
ulong value;