]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: print the cache config option in hex instead of decimal
authorKeerthy <j-keerthy@ti.com>
Sat, 29 Oct 2016 09:49:09 +0000 (15:19 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 13 Nov 2016 20:54:36 +0000 (15:54 -0500)
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>
arch/arm/lib/cache-cp15.c

index 70e94f03a485f9ea6e56b6b0330d8cf9482f4a23..e9f9fc98f736d0e2f07cd3f9eb7b90279658fbce 100644 (file)
@@ -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);