Skip to content
Snippets Groups Projects
Commit e9015b30 authored by Suriyan Ramasami's avatar Suriyan Ramasami Committed by Tom Rini
Browse files

lib/display_options: Fix print_freq


Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq.
I have seen this in the odroid U3 board, where on boot one sees this:
CPU:   Exynos4412 @  GHz
instead of:
CPU:   Exynos4412 @ 1 GHz

I am assuming that this change was done to get rid of compiler
warnings related to unused variables when building with
CONFIG_SPL_SERIAL_SUPPORT not being defined in an SPL build.

Signed-off-by: default avatarSuriyan Ramasami <suriyan.r@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent b3537c08
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment