Skip to contentSkip to conversation

ts4600: Disable CONFIG_DISPLAY_CPUINFO

PATCH New Tom Rini 2 participants 3 messages Nov 30, 2016 – Dec 1, 2016

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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

Cc Sebastien Bourdelin <[email protected]>
---
 configs/ts4600_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/ts4600_defconfig +1 -0
index c052dedf1368..1d3acd3c7126 100644
@@ -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
#1 lore raw

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_CPUINFO

Cc Sebastien Bourdelin <[email protected]>
---
 configs/ts4600_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/ts4600_defconfig +0 -0
index c052dedf1368..1d3acd3c7126 100644

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
author
#2 lore raw

PATCH 1/1 ts4600: Disable CONFIG_DISPLAY_CPUINFO

In reply to Tom Rini
Quoted 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_CPUINFO

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>