[PATCH 34/36] bdinfo: Update the file comments
Simon Glass
sjg at chromium.org
Tue May 5 01:17:30 CEST 2020
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 at chromium.org>
---
cmd/bdinfo.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index aea7cf904a..8c498d4290 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -1,17 +1,15 @@
// SPDX-License-Identifier: GPL-2.0+
/*
+ * Implements the 'bd' command to show board information
+ *
* (C) Copyright 2003
* Wolfgang Denk, DENX Software Engineering, wd at denx.de.
*/
-/*
- * Boot support
- */
#include <common.h>
#include <command.h>
#include <env.h>
#include <vsprintf.h>
-#include <linux/compiler.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -101,8 +99,6 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
return 0;
}
-/* -------------------------------------------------------------------- */
-
U_BOOT_CMD(
bdinfo, 1, 1, do_bdinfo,
"print Board Info structure",
--
2.26.2.526.g744177e7f7-goog
More information about the U-Boot
mailing list