]> git.sur5r.net Git - u-boot/commitdiff
ts4600: Disable CONFIG_DISPLAY_CPUINFO
authorTom Rini <trini@konsulko.com>
Wed, 30 Nov 2016 19:14:47 +0000 (14:14 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 1 Dec 2016 00:31:18 +0000 (19:31 -0500)
Without this change we see:
../arch/arm/cpu/arm926ejs/mxs/mxs.c: In function ‘print_cpuinfo’:
../arch/arm/cpu/arm926ejs/mxs/mxs.c:181:23: warning: unused variable ‘data’ [-Wunused-variable]
../arch/arm/cpu/arm926ejs/mxs/mxs.c:180:6: warning: variable ‘cpurev’ set but not used [-Wunused-but-set-variable]

So the easy solution is to disable CONFIG_DISPLAY_CPUINFO

Reviewed-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
configs/ts4600_defconfig

index c052dedf136879c1a32cd526e73a09abcdedbed9..1d3acd3c71262dc345be3a46a6427cc2f5082621 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="ENV_IS_IN_MMC"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+# CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y