summaryrefslogtreecommitdiff
path: root/board/pn62
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/pn62
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-0d4983930a3559be92452761cfa268ee9d0f2773.tar.bz2
u-boot-0d4983930a3559be92452761cfa268ee9d0f2773.zip
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'board/pn62')
-rw-r--r--board/pn62/cmd_pn62.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/pn62/cmd_pn62.c b/board/pn62/cmd_pn62.c
index 421829a91b..3ea068d352 100644
--- a/board/pn62/cmd_pn62.c
+++ b/board/pn62/cmd_pn62.c
@@ -51,8 +51,8 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
set_led (number, function);
return 0;
}
-cmd_tbl_t U_BOOT_CMD(led) = MK_CMD_ENTRY(
- "led" , 3, 1, do_led,
+U_BOOT_CMD(
+ led , 3, 1, do_led,
"led - set LED 0..11 on the PN62 board\n",
"i fun\n"
" - set 'i'th LED to function 'fun'\n"
@@ -165,8 +165,8 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return rcode;
}
-cmd_tbl_t U_BOOT_CMD(loadpci) = MK_CMD_ENTRY(
- "loadpci", 2, 1, do_loadpci,
+U_BOOT_CMD(
+ loadpci, 2, 1, do_loadpci,
"loadpci - load binary file over PCI\n",
"[addr]\n"
" - load binary file over PCI to address 'addr'\n"