summaryrefslogtreecommitdiffstats
path: root/include/config_cmd_all.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2012-12-05 14:46:42 +0000
committerTom Rini <trini@ti.com>2012-12-11 13:17:35 -0700
commit9ad557be2fc45bb0207cb6cb5de5bf51c9daa689 (patch)
tree954f156fda431d84103affb66678ced13fd12222 /include/config_cmd_all.h
parent096eb3f59b4b9bd002028a632fa02caafd634aa8 (diff)
downloadblackbird-obmc-uboot-9ad557be2fc45bb0207cb6cb5de5bf51c9daa689.tar.gz
blackbird-obmc-uboot-9ad557be2fc45bb0207cb6cb5de5bf51c9daa689.zip
Add console command to access io space registers
Provide u-boot console functions to access IO space registers. A no thrills implementation, accessing one register at a time. For example: boot > iod 80 0080: 00000094 boot > iod.w 80 0080: 0094 boot > iod.b 80 0080: 94 boot > iow.b 0x80 12 boot > iod 0x80 0080: 00000012 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/config_cmd_all.h')
-rw-r--r--include/config_cmd_all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 124d51fe13..e82f6421c0 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -48,6 +48,7 @@
#define CONFIG_CMD_IMI /* iminfo */
#define CONFIG_CMD_IMLS /* List all found images */
#define CONFIG_CMD_IMMAP /* IMMR dump support */
+#define CONFIG_CMD_IO /* Access to X86 IO space */
#define CONFIG_CMD_IRQ /* irqinfo */
#define CONFIG_CMD_ITEST /* Integer (and string) test */
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
OpenPOWER on IntegriCloud