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-imx-20200623' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git]
/
cmd
/
legacy_led.c
diff --git
a/cmd/legacy_led.c
b/cmd/legacy_led.c
index 951a5e242f264ac7ecbe87347d078d7c9b531700..86cd969e4072caf24e0b34fe8a569583b7a97f37 100644
(file)
--- a/
cmd/legacy_led.c
+++ b/
cmd/legacy_led.c
@@
-1,3
+1,4
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2010
* Jason Kridner <jkridner@beagleboard.org>
/*
* (C) Copyright 2010
* Jason Kridner <jkridner@beagleboard.org>
@@
-6,8
+7,6
@@
* http://www.mail-archive.com/u-boot@lists.denx.de/msg06873.html
* (C) Copyright 2008
* Ulf Samuelsson <ulf.samuelsson@atmel.com>
* http://www.mail-archive.com/u-boot@lists.denx.de/msg06873.html
* (C) Copyright 2008
* Ulf Samuelsson <ulf.samuelsson@atmel.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-86,7
+85,7
@@
void __weak __led_blink(led_id_t mask, int freq)
{
}
{
}
-int do_le
d (cmd_tbl_t *cmdtp, int flag, int argc, char *
const argv[])
+int do_le
gacy_led(struct cmd_tbl *cmdtp, int flag, int argc, char *
const argv[])
{
int i, match = 0;
enum led_cmd cmd;
{
int i, match = 0;
enum led_cmd cmd;
@@
-148,7
+147,7
@@
int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
U_BOOT_CMD(
}
U_BOOT_CMD(
- led, 4, 1, do_led,
+ led, 4, 1, do_le
gacy_le
d,
"["
#ifdef CONFIG_LED_STATUS_BOARD_SPECIFIC
#ifdef CONFIG_LED_STATUS0
"["
#ifdef CONFIG_LED_STATUS_BOARD_SPECIFIC
#ifdef CONFIG_LED_STATUS0