summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 14:17:00 -0600
committerTom Rini <trini@konsulko.com>2020-06-25 13:24:13 -0400
commitbda8909fcc813cd5d4175287f53237911c96e316 (patch)
tree50f4bc3c6537ffc1fe604105a184b8f19fc4cdd6 /cmd
parent64791981ebbfbfc150f132081f2471c21b485076 (diff)
bdinfo: Update the file comments
Update the comment at the top of the file to indicate what this file does. Also drop the line at the bottom and an unnecessary header include. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bdinfo.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 420423a81b..b7f5f710b4 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -1,19 +1,17 @@
// SPDX-License-Identifier: GPL-2.0+
/*
+ * Implements the 'bd' command to show board information
+ *
* (C) Copyright 2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
-/*
- * Boot support
- */
#include <common.h>
#include <command.h>
#include <env.h>
#include <net.h>
#include <vsprintf.h>
#include <asm/cache.h>
-#include <linux/compiler.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -104,8 +102,6 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
return 0;
}
-/* -------------------------------------------------------------------- */
-
U_BOOT_CMD(
bdinfo, 1, 1, do_bdinfo,
"print Board Info structure",