* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc.
- split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
* Patches by Kenneth Johansson, 25 Jun 2003:
- major rework of command structure
(work done mostly by Michal Cendrowski and Joakim Kristiansen)
diff --git a/board/trab/trab.c b/board/trab/trab.c
index dd4105d..1a4f5c5 100644
--- a/board/trab/trab.c
+++ b/board/trab/trab.c
@@ -24,9 +24,9 @@
/* #define DEBUG */
#include <common.h>
-#include <cmd_bsp.h>
#include <malloc.h>
#include <s3c2400.h>
+#include <command.h>
/* ------------------------------------------------------------------------- */
@@ -298,6 +298,12 @@
return 0;
}
+cmd_tbl_t U_BOOT_CMD(kbd) = MK_CMD_ENTRY(
+ "kbd", 1, 1, do_kbd,
+ "kbd - read keyboard status\n",
+ NULL
+);
+
#ifdef CONFIG_MODEM_SUPPORT
static int key_pressed(void)
{