[U-Boot] [Patch v2] drivers: ddr: fsl: fix unused-const-variable warnings

York Sun york.sun at nxp.com
Tue Apr 18 15:33:54 UTC 2017


On 03/29/2017 09:32 AM, york sun wrote:
> From: Thomas Schaefer <thomas.schaefer at kontron.com>
>
> Depending on DDR configuration, gcc-6.x will show up unused-const-
> variable messages. Use __maybe_unused specifier for all dynamic_odt
> variable definitions to remove these warnings.
>
> Memory footprint will not increase as gcc will optimize out unused
> constants.
>
> Signed-off-by: Thomas Schaefer <thomas.schaefer at kontron.com>
> Signed-off-by: York Sun <york.sun at nxp.com>
> ---
> Change log:
>   v2: Put storage class first
>

Applied to u-boot-fsl-qoriq master, awaiting upstream.

York



More information about the U-Boot mailing list