From 125f60aeec33bc65595054e46a31fc3000228fc7 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 15 Dec 2015 14:17:34 +0100 Subject: [PATCH] Fix printing clock values lower than 100 MHz --- u-boot/board/ar7240/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.25.1