projects
/
platform
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cmd: simplify do_efi_boot_add()
[platform/kernel/u-boot.git]
/
cmd
/
exit.c
1
// SPDX-License-Identifier: GPL-2.0+
2
/*
3
* Copyright 2000-2009
4
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
*/
6
7
#include <common.h>
8
#include <command.h>
9
10
static int do_exit(struct cmd_tbl *cmdtp, int flag, int argc,
11
char *const argv[])
12
{
13
if (argc > 1)
14
return dectoul(argv[1], NULL);
15
16
return 0;
17
}
18
19
U_BOOT_CMD(
20
exit, 2, 1, do_exit,
21
"exit script",
22
""
23
);