Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
diff --git a/common/cmd_immap.c b/common/cmd_immap.c
index fbb4a7d..4bb6e0c 100644
--- a/common/cmd_immap.c
+++ b/common/cmd_immap.c
@@ -594,106 +594,106 @@
/***************************************************/
-cmd_tbl_t U_BOOT_CMD(SIUINFO) = MK_CMD_ENTRY(
- "siuinfo", 1, 1, do_siuinfo,
+U_BOOT_CMD(
+ siuinfo, 1, 1, do_siuinfo,
"siuinfo - print System Interface Unit (SIU) registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(MEMCINFO) = MK_CMD_ENTRY(
- "memcinfo", 1, 1, do_memcinfo,
+U_BOOT_CMD(
+ memcinfo, 1, 1, do_memcinfo,
"memcinfo- print Memory Controller registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(SITINFO) = MK_CMD_ENTRY(
- "sitinfo", 1, 1, do_sitinfo,
+U_BOOT_CMD(
+ sitinfo, 1, 1, do_sitinfo,
"sitinfo - print System Integration Timers (SIT) registers\n",
NULL
);
#ifdef CONFIG_8260
-cmd_tbl_t U_BOOT_CMD(ICINFO) = MK_CMD_ENTRY(
- "icinfo", 1, 1, do_icinfo,
+U_BOOT_CMD(
+ icinfo, 1, 1, do_icinfo,
"icinfo - print Interrupt Controller registers\n",
NULL
);
#endif
-cmd_tbl_t U_BOOT_CMD(CARINFO) = MK_CMD_ENTRY(
- "carinfo", 1, 1, do_carinfo,
+U_BOOT_CMD(
+ carinfo, 1, 1, do_carinfo,
"carinfo - print Clocks and Reset registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(IOPINFO) = MK_CMD_ENTRY(
- "iopinfo", 1, 1, do_iopinfo,
+U_BOOT_CMD(
+ iopinfo, 1, 1, do_iopinfo,
"iopinfo - print I/O Port registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(IOPSET) = MK_CMD_ENTRY(
- "iopset", 5, 0, do_iopset,
+U_BOOT_CMD(
+ iopset, 5, 0, do_iopset,
"iopset - set I/O Port registers\n",
"PORT PIN CMD VALUE\nPORT: A-D, PIN: 0-31, CMD: [dat|dir|odr|sor], VALUE: 0|1"
);
-cmd_tbl_t U_BOOT_CMD(DMAINFO) = MK_CMD_ENTRY(
- "dmainfo", 1, 1, do_dmainfo,
+U_BOOT_CMD(
+ dmainfo, 1, 1, do_dmainfo,
"dmainfo - print SDMA/IDMA registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(FCCINFO) = MK_CMD_ENTRY(
- "fccinfo", 1, 1, do_fccinfo,
+U_BOOT_CMD(
+ fccinfo, 1, 1, do_fccinfo,
"fccinfo - print FCC registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(BRGINFO) = MK_CMD_ENTRY(
- "brginfo", 1, 1, do_brginfo,
+U_BOOT_CMD(
+ brginfo, 1, 1, do_brginfo,
"brginfo - print Baud Rate Generator (BRG) registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(I2CINFO) = MK_CMD_ENTRY(
- "i2cinfo", 1, 1, do_i2cinfo,
+U_BOOT_CMD(
+ i2cinfo, 1, 1, do_i2cinfo,
"i2cinfo - print I2C registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(SCCINFO) = MK_CMD_ENTRY(
- "sccinfo", 1, 1, do_sccinfo,
+U_BOOT_CMD(
+ sccinfo, 1, 1, do_sccinfo,
"sccinfo - print SCC registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(SMCINFO) = MK_CMD_ENTRY(
- "smcinfo", 1, 1, do_smcinfo,
+U_BOOT_CMD(
+ smcinfo, 1, 1, do_smcinfo,
"smcinfo - print SMC registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(SPIINFO) = MK_CMD_ENTRY(
- "spiinfo", 1, 1, do_spiinfo,
+U_BOOT_CMD(
+ spiinfo, 1, 1, do_spiinfo,
"spiinfo - print Serial Peripheral Interface (SPI) registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(MUXINFO) = MK_CMD_ENTRY(
- "muxinfo", 1, 1, do_muxinfo,
+U_BOOT_CMD(
+ muxinfo, 1, 1, do_muxinfo,
"muxinfo - print CPM Multiplexing registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(SIINFO) = MK_CMD_ENTRY(
- "siinfo", 1, 1, do_siinfo,
+U_BOOT_CMD(
+ siinfo, 1, 1, do_siinfo,
"siinfo - print Serial Interface (SI) registers\n",
NULL
);
-cmd_tbl_t U_BOOT_CMD(MCCINFO) = MK_CMD_ENTRY(
- "mccinfo", 1, 1, do_mccinfo,
+U_BOOT_CMD(
+ mccinfo, 1, 1, do_mccinfo,
"mccinfo - print MCC registers\n",
NULL
);