projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stm32f7: board: Fix memory init
[oweals/u-boot.git]
/
cmd
/
disk.c
diff --git
a/cmd/disk.c
b/cmd/disk.c
index 92de3af8a5c0d6f5274f6923025c7559ec41f3b4..dcc36a6c2cb72fae38b9fb59fe64280b5263c8a3 100644
(file)
--- a/
cmd/disk.c
+++ b/
cmd/disk.c
@@
-1,15
+1,12
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2000-2011
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
/*
* (C) Copyright 2000-2011
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <command.h>
#include <part.h>
*/
#include <common.h>
#include <command.h>
#include <part.h>
-#if defined(CONFIG_CMD_IDE) || defined(CONFIG_SCSI) || \
- defined(CONFIG_USB_STORAGE)
int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
char *const argv[])
{
int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
char *const argv[])
{
@@
-130,4
+127,3
@@
int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
return bootm_maybe_autostart(cmdtp, argv[0]);
}
return bootm_maybe_autostart(cmdtp, argv[0]);
}
-#endif