All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO
@ 2016-11-30 19:16 Tom Rini
  2016-11-30 19:34 ` Sebastien Bourdelin
  2016-12-01  0:45 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Rini @ 2016-11-30 19:16 UTC (permalink / raw)
  To: u-boot

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 <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 configs/ts4600_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/ts4600_defconfig b/configs/ts4600_defconfig
index c052dedf1368..1d3acd3c7126 100644
--- a/configs/ts4600_defconfig
+++ b/configs/ts4600_defconfig
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO
  2016-11-30 19:16 [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO Tom Rini
@ 2016-11-30 19:34 ` Sebastien Bourdelin
  2016-12-01  0:45 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastien Bourdelin @ 2016-11-30 19:34 UTC (permalink / raw)
  To: u-boot


On 11/30/2016 02:16 PM, Tom Rini wrote:
> 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 <sebastien.bourdelin@savoirfairelinux.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  configs/ts4600_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/ts4600_defconfig b/configs/ts4600_defconfig
> index c052dedf1368..1d3acd3c7126 100644
> --- a/configs/ts4600_defconfig
> +++ b/configs/ts4600_defconfig
> @@ -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
> 

Reviewed-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO
  2016-11-30 19:16 [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO Tom Rini
  2016-11-30 19:34 ` Sebastien Bourdelin
@ 2016-12-01  0:45 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-12-01  0:45 UTC (permalink / raw)
  To: u-boot

On Wed, Nov 30, 2016 at 02:16:16PM -0500, Tom Rini wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-01  0:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-30 19:16 [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO Tom Rini
2016-11-30 19:34 ` Sebastien Bourdelin
2016-12-01  0:45 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.