From: Piotr Dymacz Date: Tue, 15 Dec 2015 13:17:34 +0000 (+0100) Subject: Fix printing clock values lower than 100 MHz X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=125f60aeec33bc65595054e46a31fc3000228fc7;p=oweals%2Fu-boot_mod.git Fix printing clock values lower than 100 MHz --- diff --git a/u-boot/board/ar7240/common/common.c b/u-boot/board/ar7240/common/common.c index 436ea18..8dd0aae 100644 --- a/u-boot/board/ar7240/common/common.c +++ b/u-boot/board/ar7240/common/common.c @@ -101,7 +101,7 @@ void print_board_info(void) spi_clk = spi_clk / 1000000; ref_clk = ref_clk / 1000000; - printf("%" ALIGN_SIZE "s %d/%d/%d/%3d/%3d MHz\n", + printf("%" ALIGN_SIZE "s %3d/%3d/%3d/%3d/%3d MHz\n", " ", cpu_clk, ddr_clk, ahb_clk, spi_clk, ref_clk); puts("\n");