aboutsummaryrefslogtreecommitdiffstats
path: root/board/w7o/cmd_vpd.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/w7o/cmd_vpd.c
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-midas-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-midas-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
u-boot-midas-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
* 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/w7o/cmd_vpd.c')
-rw-r--r--board/w7o/cmd_vpd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/w7o/cmd_vpd.c b/board/w7o/cmd_vpd.c
index 3025699175..2763a53d03 100644
--- a/board/w7o/cmd_vpd.c
+++ b/board/w7o/cmd_vpd.c
@@ -57,4 +57,11 @@ int do_vpd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 1;
}
+cmd_tbl_t U_BOOT_CMD(vpd) = MK_CMD_ENTRY(
+ "vpd", 2, 1, do_vpd,
+ "vpd - Read Vital Product Data\n",
+ "[dev_addr]\n"
+ " - Read VPD Data from default address, or device address 'dev_addr'.\n"
+);
+
#endif /* (CONFIG_COMMANDS & CFG_CMD_BSP) */