summaryrefslogtreecommitdiff
path: root/common/cmd_immap.c
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 /common/cmd_immap.c
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 'common/cmd_immap.c')
-rw-r--r--common/cmd_immap.c68
1 files changed, 34 insertions, 34 deletions
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 @@ do_mccinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/***************************************************/
-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
);