summaryrefslogtreecommitdiff
path: root/board/lwmon
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-01 21:06:45 +0000
committerwdenk <wdenk>2003-07-01 21:06:45 +0000
commit0d4983930a3559be92452761cfa268ee9d0f2773 (patch)
treecfb77c1274a959cde007a7ac4e18b4b0d67bd253 /board/lwmon
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.zip
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.bz2
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'board/lwmon')
-rw-r--r--board/lwmon/lwmon.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c
index 91aa58c..2aa990c 100644
--- a/board/lwmon/lwmon.c
+++ b/board/lwmon/lwmon.c
@@ -851,8 +851,8 @@ int do_pic (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
printf ("Usage:\n%s\n", cmdtp->usage);
return 1;
}
-cmd_tbl_t U_BOOT_CMD(pic) = MK_CMD_ENTRY(
- "pic", 4, 1, do_pic,
+U_BOOT_CMD(
+ pic, 4, 1, do_pic,
"pic - read and write PIC registers\n",
"read reg - read PIC register `reg'\n"
"pic write reg val - write value `val' to PIC register `reg'\n"
@@ -910,8 +910,8 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
-cmd_tbl_t U_BOOT_CMD(kdb) = MK_CMD_ENTRY(
- "kbd", 1, 1, do_kbd,
+U_BOOT_CMD(
+ kbd, 1, 1, do_kbd,
"kbd - read keyboard status\n",
NULL
);
@@ -982,8 +982,8 @@ int do_lsb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 1;
}
-cmd_tbl_t U_BOOT_CMD(lsb) = MK_CMD_ENTRY(
- "lsb", 2, 1, do_lsb,
+U_BOOT_CMD(
+ lsb, 2, 1, do_lsb,
"lsb - check and set LSB switch\n",
"on - switch LSB on\n"
"lsb off - switch LSB off\n"