[coreboot-gerrit] Patch merged into coreboot/master: arm-trusted-firmware: Disable a couple of warnings for GCC 6.2

gerrit at coreboot.org gerrit at coreboot.org
Fri Feb 24 03:27:45 CET 2017


the following patch was just integrated into master:
commit 80c314d64a42d87b563f41c3f837b00d6cd8e79b
Author: Martin Roth <martinroth at google.com>
Date:   Thu Dec 29 19:55:28 2016 -0700

    arm-trusted-firmware: Disable a couple of warnings for GCC 6.2
    
    - Remove warnings about code using deprecated declarations such as:
    plat/mediatek/mt8173/bl31_plat_setup.c: In function 'bl31_platform_setup':
    plat/mediatek/mt8173/bl31_plat_setup.c:175:2: warning:
    'arm_gic_setup' is deprecated [-Wdeprecated-declarations]
    include/drivers/arm/arm_gic.h:44:6: note: declared here:
    void arm_gic_setup(void) __deprecated;
    
    - Disable pedantic warnings to get rid of these warnings:
    In file included from plat/mediatek/mt8173/bl31_plat_setup.c:36:0:
    plat/mediatek/mt8173/include/mcucfg.h:134:21: error:
    enumerator value for 'MP1_CPUCFG_64BIT' is not an integer constant
    expression [-Werror=pedantic]
    MP1_CPUCFG_64BIT = 0xf << MP1_CPUCFG_64BIT_SHIFT
    
    Change-Id: Ibf2c4972232b2ad743ba689825cfe8440d63e828
    Signed-off-by: Martin Roth <martinroth at google.com>
    Reviewed-on: https://review.coreboot.org/17995
    Tested-by: build bot (Jenkins)
    Reviewed-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Nico Huber <nico.h at gmx.de>


See https://review.coreboot.org/17995 for details.

-gerrit



More information about the coreboot-gerrit mailing list