summaryrefslogtreecommitdiff
path: root/board/trab/trab.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /board/trab/trab.c
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
* 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)
Diffstat (limited to 'board/trab/trab.c')
-rw-r--r--board/trab/trab.c8
1 files changed, 7 insertions, 1 deletions
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 @@ int do_kbd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
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)
{