ts4600: Disable CONFIG_DISPLAY_CPUINFO
PATCH 1/1 ts4600: Disable CONFIG_DISPLAY_CPUINFO
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
--- configs/ts4600_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/ts4600_defconfig +1 -0
@@ -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
Signature · 1 line
1.9.1
PATCH 1/1 ts4600: Disable CONFIG_DISPLAY_CPUINFO
Quoted 19 lines · Tom Rini
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_CPUINFOCc Sebastien Bourdelin <[email protected]>Signed-off-by Tom Rini <[email protected]>--- configs/ts4600_defconfig | 1 + 1 file changed, 1 insertion(+)configs/ts4600_defconfig +0
-0
configs/ts4600_defconfig CONFIG_SPL_LIBGENERIC_SUPPORT=y · line 11
Quoted 7 lines
configs/ts4600_defconfig +1
-0@@ -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
PATCH 1/1 ts4600: Disable CONFIG_DISPLAY_CPUINFO
In reply to Tom RiniQuoted 9 lines · Tom Rini
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_CPUINFOReviewed-by Sebastien Bourdelin <[email protected]>Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161130/e7c801fa/attachment.sig>