]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Add console command to access io space registers
authorVadim Bendebury <vbendeb@chromium.org>
Wed, 5 Dec 2012 14:46:42 +0000 (14:46 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:35 +0000 (13:17 -0700)
commit9ad557be2fc45bb0207cb6cb5de5bf51c9daa689
tree954f156fda431d84103affb66678ced13fd12222
parent096eb3f59b4b9bd002028a632fa02caafd634aa8
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>
common/Makefile
common/cmd_io.c [new file with mode: 0644]
include/command.h
include/config_cmd_all.h