diff options
author | Wolfgang Denk <wd@denx.de> | 2009-01-28 21:09:32 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-28 21:09:32 +0100 |
commit | ee64d0acc93f4f15850736eafaacdeadd7f12d25 (patch) | |
tree | c3cbea9a94ac333eaaaa0f6d277d5b6c1fe9759c /common/cmd_cplbinfo.c | |
parent | 9cda4f104b5313fadc21b75aa781c7a6aaf6ea60 (diff) | |
parent | fe033ad6d0883063fe857237abb9436fab03208c (diff) | |
download | u-boot-imx-ee64d0acc93f4f15850736eafaacdeadd7f12d25.zip u-boot-imx-ee64d0acc93f4f15850736eafaacdeadd7f12d25.tar.gz u-boot-imx-ee64d0acc93f4f15850736eafaacdeadd7f12d25.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'common/cmd_cplbinfo.c')
-rw-r--r-- | common/cmd_cplbinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_cplbinfo.c b/common/cmd_cplbinfo.c index 629e6a9..56e70d6 100644 --- a/common/cmd_cplbinfo.c +++ b/common/cmd_cplbinfo.c @@ -26,11 +26,11 @@ static const char *cplb_page_size(uint32_t data) */ static void show_cplb_table(uint32_t *addr, uint32_t *data) { - size_t i; + int i; printf(" Address Data Size Valid Locked\n"); for (i = 1; i <= 16; ++i) { printf(" %2i 0x%p 0x%05X %s %c %c\n", - i, *addr, *data, + i, (void *)*addr, *data, cplb_page_size(*data), (*data & CPLB_VALID ? 'Y' : 'N'), (*data & CPLB_LOCK ? 'Y' : 'N')); |