
18 Apr
2017
18 Apr
'17
5:33 p.m.
On 03/29/2017 09:32 AM, york sun wrote:
From: Thomas Schaefer thomas.schaefer@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@kontron.com Signed-off-by: York Sun york.sun@nxp.com
Change log: v2: Put storage class first
Applied to u-boot-fsl-qoriq master, awaiting upstream.
York