diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2012-12-05 14:46:42 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-11 20:17:35 (GMT) |
commit | 9ad557be2fc45bb0207cb6cb5de5bf51c9daa689 (patch) | |
tree | 954f156fda431d84103affb66678ced13fd12222 /include/config_cmd_all.h | |
parent | 096eb3f59b4b9bd002028a632fa02caafd634aa8 (diff) | |
download | u-boot-fsl-qoriq-9ad557be2fc45bb0207cb6cb5de5bf51c9daa689.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index 124d51f..e82f642 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 */ |