diff options
author | Keerthy <j-keerthy@ti.com> | 2016-10-29 15:19:09 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-13 15:54:36 -0500 |
commit | 2b373cb83cae37d2cb1af7f880c1ba739956d9b3 (patch) | |
tree | 266e382b0ab2b0d72946721669bb21823000895b /arch | |
parent | 2ffec69b6f93459be815c64b023840c59aa4006a (diff) | |
download | u-boot-imx-2b373cb83cae37d2cb1af7f880c1ba739956d9b3.zip u-boot-imx-2b373cb83cae37d2cb1af7f880c1ba739956d9b3.tar.gz u-boot-imx-2b373cb83cae37d2cb1af7f880c1ba739956d9b3.tar.bz2 |
arm: print the cache config option in hex instead of decimal
Printing the option value in hex makes it more comprehensible.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/cache-cp15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c index 70e94f0..e9f9fc9 100644 --- a/arch/arm/lib/cache-cp15.c +++ b/arch/arm/lib/cache-cp15.c @@ -71,7 +71,7 @@ void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size, end = ALIGN(start + size, MMU_SECTION_SIZE) >> MMU_SECTION_SHIFT; start = start >> MMU_SECTION_SHIFT; - debug("%s: start=%pa, size=%zu, option=%d\n", __func__, &start, size, + debug("%s: start=%pa, size=%zu, option=0x%x\n", __func__, &start, size, option); for (upto = start; upto < end; upto++) set_section_dcache(upto, option); |