Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8203
-gerrit
commit ff47c1dd3fc86fbde761277b72315f044614a962 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Tue Jan 13 05:48:13 2015 +1100
soc/intel/fsp_baytrail/gpio.c: Silence unused variable warning
Put functions in appropriate pre-processor sections to avoid false-positive 'unused function' compiler warnings.
Change-Id: Ia83d721827ad9924807c0ca5ebd681060af49a82 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/soc/intel/fsp_baytrail/gpio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/soc/intel/fsp_baytrail/gpio.c b/src/soc/intel/fsp_baytrail/gpio.c index aeb0998..901dfce 100644 --- a/src/soc/intel/fsp_baytrail/gpio.c +++ b/src/soc/intel/fsp_baytrail/gpio.c @@ -61,6 +61,9 @@ static const u8 gpssus_gpio_to_pad[GPSSUS_COUNT] = 56, 54, 49, 55, 48, 57, 50, 58, /* [32:39] */ 52, 53, 59, 40 }; /* [40:43] */
+ +#ifndef __PRE_RAM__ + /* GPIO bank descriptions */ static const struct gpio_bank gpncore_bank = { .gpio_count = GPNCORE_COUNT, @@ -92,7 +95,6 @@ static const struct gpio_bank gpssus_bank = { .gpio_f1_range_end = GPSSUS_GPIO_F1_RANGE_END, };
-#ifndef __PRE_RAM__
static void setup_gpios(const struct soc_gpio_map *gpios, const struct gpio_bank *bank) @@ -346,4 +348,3 @@ void configure_score_gpio(uint8_t gpio_num, uint32_t pconf0, uint32_t pad_val) { configure_ssus_score_gpio(0, gpio_num, pconf0, pad_val); } -