diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-30 00:16:40 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-28 10:49:47 +0000 |
commit | 282171c105f18e15c542fc04761c692abbd005ce (patch) | |
tree | ab4e8634c9073012e64e121edbdba13e15eb6a7a | |
parent | 6572fe538a1991911759c364d31f6054a3810860 (diff) | |
download | coreboot-282171c105f18e15c542fc04761c692abbd005ce.tar.xz |
mainboard/google: Remove unused include <stdlib.h>
Change-Id: I9e71474bea61befd61900aff554f32f1bc782a77
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33699
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
58 files changed, 1 insertions, 66 deletions
diff --git a/src/mainboard/google/beltino/romstage.c b/src/mainboard/google/beltino/romstage.c index f2066647d0..607c8a4d48 100644 --- a/src/mainboard/google/beltino/romstage.c +++ b/src/mainboard/google/beltino/romstage.c @@ -15,7 +15,6 @@ */ #include <stdint.h> -#include <stdlib.h> #include <arch/romstage.h> #include <cpu/intel/haswell/haswell.h> #include <northbridge/intel/haswell/haswell.h> diff --git a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c index 4d65f36a45..233a8eecca 100644 --- a/src/mainboard/google/beltino/variants/mccloud/hda_verb.c +++ b/src/mainboard/google/beltino/variants/mccloud/hda_verb.c @@ -16,8 +16,6 @@ #ifndef HDA_VERB_H #define HDA_VERB_H -#include <stdlib.h> - #include <device/azalia_device.h> const u32 cim_verb_data[] = { diff --git a/src/mainboard/google/beltino/variants/monroe/hda_verb.c b/src/mainboard/google/beltino/variants/monroe/hda_verb.c index 8482ec3d8f..8281fb86d0 100644 --- a/src/mainboard/google/beltino/variants/monroe/hda_verb.c +++ b/src/mainboard/google/beltino/variants/monroe/hda_verb.c @@ -16,8 +16,6 @@ #ifndef HDA_VERB_H #define HDA_VERB_H -#include <stdlib.h> - #include <device/azalia_device.h> const u32 cim_verb_data[] = { diff --git a/src/mainboard/google/beltino/variants/panther/hda_verb.c b/src/mainboard/google/beltino/variants/panther/hda_verb.c index 4d65f36a45..233a8eecca 100644 --- a/src/mainboard/google/beltino/variants/panther/hda_verb.c +++ b/src/mainboard/google/beltino/variants/panther/hda_verb.c @@ -16,8 +16,6 @@ #ifndef HDA_VERB_H #define HDA_VERB_H -#include <stdlib.h> - #include <device/azalia_device.h> const u32 cim_verb_data[] = { diff --git a/src/mainboard/google/beltino/variants/tricky/hda_verb.c b/src/mainboard/google/beltino/variants/tricky/hda_verb.c index 4d65f36a45..233a8eecca 100644 --- a/src/mainboard/google/beltino/variants/tricky/hda_verb.c +++ b/src/mainboard/google/beltino/variants/tricky/hda_verb.c @@ -16,8 +16,6 @@ #ifndef HDA_VERB_H #define HDA_VERB_H -#include <stdlib.h> - #include <device/azalia_device.h> const u32 cim_verb_data[] = { diff --git a/src/mainboard/google/beltino/variants/zako/hda_verb.c b/src/mainboard/google/beltino/variants/zako/hda_verb.c index 4d65f36a45..233a8eecca 100644 --- a/src/mainboard/google/beltino/variants/zako/hda_verb.c +++ b/src/mainboard/google/beltino/variants/zako/hda_verb.c @@ -16,8 +16,6 @@ #ifndef HDA_VERB_H #define HDA_VERB_H -#include <stdlib.h> - #include <device/azalia_device.h> const u32 cim_verb_data[] = { diff --git a/src/mainboard/google/cyan/variants/banon/gpio.c b/src/mainboard/google/cyan/variants/banon/gpio.c index 6983d91169..2a3e8fc8ec 100644 --- a/src/mainboard/google/cyan/variants/banon/gpio.c +++ b/src/mainboard/google/cyan/variants/banon/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/celes/gpio.c b/src/mainboard/google/cyan/variants/celes/gpio.c index c416053dae..6f53f2ea37 100644 --- a/src/mainboard/google/cyan/variants/celes/gpio.c +++ b/src/mainboard/google/cyan/variants/celes/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/cyan/gpio.c b/src/mainboard/google/cyan/variants/cyan/gpio.c index c26e7b69fb..05ba93e102 100644 --- a/src/mainboard/google/cyan/variants/cyan/gpio.c +++ b/src/mainboard/google/cyan/variants/cyan/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/edgar/gpio.c b/src/mainboard/google/cyan/variants/edgar/gpio.c index 2010ac5172..59486af102 100644 --- a/src/mainboard/google/cyan/variants/edgar/gpio.c +++ b/src/mainboard/google/cyan/variants/edgar/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/kefka/gpio.c b/src/mainboard/google/cyan/variants/kefka/gpio.c index 0ef284282e..1036cc6985 100644 --- a/src/mainboard/google/cyan/variants/kefka/gpio.c +++ b/src/mainboard/google/cyan/variants/kefka/gpio.c @@ -16,8 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> - /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/reks/gpio.c b/src/mainboard/google/cyan/variants/reks/gpio.c index e0d82cf039..955dc51fb7 100644 --- a/src/mainboard/google/cyan/variants/reks/gpio.c +++ b/src/mainboard/google/cyan/variants/reks/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/relm/gpio.c b/src/mainboard/google/cyan/variants/relm/gpio.c index 9cb80e6277..e9014ac6f0 100644 --- a/src/mainboard/google/cyan/variants/relm/gpio.c +++ b/src/mainboard/google/cyan/variants/relm/gpio.c @@ -16,8 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> - /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/setzer/gpio.c b/src/mainboard/google/cyan/variants/setzer/gpio.c index 83f742e5d8..517d06971a 100644 --- a/src/mainboard/google/cyan/variants/setzer/gpio.c +++ b/src/mainboard/google/cyan/variants/setzer/gpio.c @@ -16,8 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> - /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/terra/gpio.c b/src/mainboard/google/cyan/variants/terra/gpio.c index b4feebff16..dc10ceff85 100644 --- a/src/mainboard/google/cyan/variants/terra/gpio.c +++ b/src/mainboard/google/cyan/variants/terra/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/ultima/gpio.c b/src/mainboard/google/cyan/variants/ultima/gpio.c index fe8c934b7d..3cae31384f 100644 --- a/src/mainboard/google/cyan/variants/ultima/gpio.c +++ b/src/mainboard/google/cyan/variants/ultima/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/cyan/variants/wizpig/gpio.c b/src/mainboard/google/cyan/variants/wizpig/gpio.c index affe8932d4..ecd74ef386 100644 --- a/src/mainboard/google/cyan/variants/wizpig/gpio.c +++ b/src/mainboard/google/cyan/variants/wizpig/gpio.c @@ -16,7 +16,6 @@ #include <mainboard/google/cyan/irqroute.h> #include <soc/gpio.h> -#include <stdlib.h> /* South East Community */ static const struct soc_gpio_map gpse_gpio_map[] = { diff --git a/src/mainboard/google/daisy/memory.c b/src/mainboard/google/daisy/memory.c index 009604b295..c5b752c2bf 100644 --- a/src/mainboard/google/daisy/memory.c +++ b/src/mainboard/google/daisy/memory.c @@ -20,7 +20,6 @@ #include <soc/dmc.h> #include <soc/clk.h> #include <stddef.h> -#include <stdlib.h> const struct mem_timings mem_timings[] = { { diff --git a/src/mainboard/google/foster/pmic.c b/src/mainboard/google/foster/pmic.c index 6435317a22..af6a364903 100644 --- a/src/mainboard/google/foster/pmic.c +++ b/src/mainboard/google/foster/pmic.c @@ -20,7 +20,6 @@ #include <device/i2c_simple.h> #include <reset.h> #include <stdint.h> -#include <stdlib.h> #include "pmic.h" diff --git a/src/mainboard/google/gale/boardid.c b/src/mainboard/google/gale/boardid.c index 96fc936bf3..082cc26876 100644 --- a/src/mainboard/google/gale/boardid.c +++ b/src/mainboard/google/gale/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <gpio.h> #include <console/console.h> -#include <stdlib.h> /* * Gale boards dedicate to the board ID three GPIOs in ternary mode: 64, 65 diff --git a/src/mainboard/google/glados/mainboard.c b/src/mainboard/google/glados/mainboard.c index ebc50f41e2..516d7bae2a 100644 --- a/src/mainboard/google/glados/mainboard.c +++ b/src/mainboard/google/glados/mainboard.c @@ -20,7 +20,6 @@ #include <console/console.h> #include <device/device.h> #include <gpio.h> -#include <stdlib.h> #include <soc/nhlt.h> #include <variant/gpio.h> #include <vendorcode/google/chromeos/chromeos.h> diff --git a/src/mainboard/google/gru/boardid.c b/src/mainboard/google/gru/boardid.c index 4630a9170b..efba922e80 100644 --- a/src/mainboard/google/gru/boardid.c +++ b/src/mainboard/google/gru/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <gpio.h> -#include <stdlib.h> #include <soc/saradc.h> static const int id_readings[] = { diff --git a/src/mainboard/google/nyan/pmic.c b/src/mainboard/google/nyan/pmic.c index 893d2eace5..75b888865b 100644 --- a/src/mainboard/google/nyan/pmic.c +++ b/src/mainboard/google/nyan/pmic.c @@ -19,7 +19,6 @@ #include <delay.h> #include <device/i2c_simple.h> #include <stdint.h> -#include <stdlib.h> #include <reset.h> #include "pmic.h" diff --git a/src/mainboard/google/nyan_big/boardid.c b/src/mainboard/google/nyan_big/boardid.c index 2a2911c9c5..49a9938cbb 100644 --- a/src/mainboard/google/nyan_big/boardid.c +++ b/src/mainboard/google/nyan_big/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <gpio.h> -#include <stdlib.h> uint32_t board_id(void) { diff --git a/src/mainboard/google/nyan_big/pmic.c b/src/mainboard/google/nyan_big/pmic.c index f70e6dd49f..0564f3d597 100644 --- a/src/mainboard/google/nyan_big/pmic.c +++ b/src/mainboard/google/nyan_big/pmic.c @@ -19,7 +19,6 @@ #include <delay.h> #include <device/i2c_simple.h> #include <stdint.h> -#include <stdlib.h> #include <reset.h> #include "pmic.h" diff --git a/src/mainboard/google/nyan_blaze/boardid.c b/src/mainboard/google/nyan_blaze/boardid.c index 2a2911c9c5..49a9938cbb 100644 --- a/src/mainboard/google/nyan_blaze/boardid.c +++ b/src/mainboard/google/nyan_blaze/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <gpio.h> -#include <stdlib.h> uint32_t board_id(void) { diff --git a/src/mainboard/google/nyan_blaze/pmic.c b/src/mainboard/google/nyan_blaze/pmic.c index f70e6dd49f..0564f3d597 100644 --- a/src/mainboard/google/nyan_blaze/pmic.c +++ b/src/mainboard/google/nyan_blaze/pmic.c @@ -19,7 +19,6 @@ #include <delay.h> #include <device/i2c_simple.h> #include <stdint.h> -#include <stdlib.h> #include <reset.h> #include "pmic.h" diff --git a/src/mainboard/google/oak/boardid.c b/src/mainboard/google/oak/boardid.c index 91e2df3d88..ada2de5041 100644 --- a/src/mainboard/google/oak/boardid.c +++ b/src/mainboard/google/oak/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <gpio.h> #include <console/console.h> -#include <stdlib.h> #include "gpio.h" static int board_id_value = -1; diff --git a/src/mainboard/google/oak/sdram_configs.c b/src/mainboard/google/oak/sdram_configs.c index 65b12ceae5..34191082ca 100644 --- a/src/mainboard/google/oak/sdram_configs.c +++ b/src/mainboard/google/oak/sdram_configs.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <soc/emi.h> -#include <stdlib.h> static const struct mt8173_sdram_params sdram_configs[] = { #include "sdram_inf/sdram-lpddr3-H9CCNNN8GTMLAR-2GB.inc" /* ram_code = 0000 */ diff --git a/src/mainboard/google/peach_pit/mainboard.c b/src/mainboard/google/peach_pit/mainboard.c index 234a433acb..553c2adbd5 100644 --- a/src/mainboard/google/peach_pit/mainboard.c +++ b/src/mainboard/google/peach_pit/mainboard.c @@ -33,7 +33,6 @@ #include <soc/dp.h> #include <soc/fimd.h> #include <soc/usb.h> -#include <stdlib.h> #include <string.h> #include <symbols.h> #include <vbe.h> diff --git a/src/mainboard/google/peach_pit/memory.c b/src/mainboard/google/peach_pit/memory.c index a5e3d9eeb9..541e3b04c1 100644 --- a/src/mainboard/google/peach_pit/memory.c +++ b/src/mainboard/google/peach_pit/memory.c @@ -19,7 +19,6 @@ #include <soc/gpio.h> #include <soc/setup.h> #include <stddef.h> -#include <stdlib.h> const struct mem_timings mem_timings = { .mem_manuf = MEM_MANUF_SAMSUNG, diff --git a/src/mainboard/google/peach_pit/romstage.c b/src/mainboard/google/peach_pit/romstage.c index fdbe534b2c..0c2cb3e3e8 100644 --- a/src/mainboard/google/peach_pit/romstage.c +++ b/src/mainboard/google/peach_pit/romstage.c @@ -33,7 +33,6 @@ #include <soc/setup.h> #include <soc/trustzone.h> #include <soc/wakeup.h> -#include <stdlib.h> #include <timestamp.h> #include <types.h> diff --git a/src/mainboard/google/rambi/variants/banjo/gpio.c b/src/mainboard/google/rambi/variants/banjo/gpio.c index bfb2c9aa2f..e22c8db35d 100644 --- a/src/mainboard/google/rambi/variants/banjo/gpio.c +++ b/src/mainboard/google/rambi/variants/banjo/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/candy/gpio.c b/src/mainboard/google/rambi/variants/candy/gpio.c index 3cbfbaf459..61050e58b1 100644 --- a/src/mainboard/google/rambi/variants/candy/gpio.c +++ b/src/mainboard/google/rambi/variants/candy/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/clapper/gpio.c b/src/mainboard/google/rambi/variants/clapper/gpio.c index 1e02783d68..e1bcefa6e9 100644 --- a/src/mainboard/google/rambi/variants/clapper/gpio.c +++ b/src/mainboard/google/rambi/variants/clapper/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/enguarde/gpio.c b/src/mainboard/google/rambi/variants/enguarde/gpio.c index 2802aa6495..784ed23cc5 100644 --- a/src/mainboard/google/rambi/variants/enguarde/gpio.c +++ b/src/mainboard/google/rambi/variants/enguarde/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/glimmer/gpio.c b/src/mainboard/google/rambi/variants/glimmer/gpio.c index 8cfe90ea04..504d64adda 100644 --- a/src/mainboard/google/rambi/variants/glimmer/gpio.c +++ b/src/mainboard/google/rambi/variants/glimmer/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/gnawty/gpio.c b/src/mainboard/google/rambi/variants/gnawty/gpio.c index e79dc5a827..7e2361c086 100644 --- a/src/mainboard/google/rambi/variants/gnawty/gpio.c +++ b/src/mainboard/google/rambi/variants/gnawty/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/heli/gpio.c b/src/mainboard/google/rambi/variants/heli/gpio.c index 2a61c556cb..bcb1430c98 100644 --- a/src/mainboard/google/rambi/variants/heli/gpio.c +++ b/src/mainboard/google/rambi/variants/heli/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/kip/gpio.c b/src/mainboard/google/rambi/variants/kip/gpio.c index 3d79d37441..56942bd2be 100644 --- a/src/mainboard/google/rambi/variants/kip/gpio.c +++ b/src/mainboard/google/rambi/variants/kip/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/ninja/gpio.c b/src/mainboard/google/rambi/variants/ninja/gpio.c index 85d565e44a..2d8285c6d6 100644 --- a/src/mainboard/google/rambi/variants/ninja/gpio.c +++ b/src/mainboard/google/rambi/variants/ninja/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/orco/gpio.c b/src/mainboard/google/rambi/variants/orco/gpio.c index f2bbe8abdb..afa50cf1ce 100644 --- a/src/mainboard/google/rambi/variants/orco/gpio.c +++ b/src/mainboard/google/rambi/variants/orco/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/quawks/gpio.c b/src/mainboard/google/rambi/variants/quawks/gpio.c index 3d79d37441..56942bd2be 100644 --- a/src/mainboard/google/rambi/variants/quawks/gpio.c +++ b/src/mainboard/google/rambi/variants/quawks/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/rambi/gpio.c b/src/mainboard/google/rambi/variants/rambi/gpio.c index 3d79d37441..56942bd2be 100644 --- a/src/mainboard/google/rambi/variants/rambi/gpio.c +++ b/src/mainboard/google/rambi/variants/rambi/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/squawks/gpio.c b/src/mainboard/google/rambi/variants/squawks/gpio.c index 3d79d37441..56942bd2be 100644 --- a/src/mainboard/google/rambi/variants/squawks/gpio.c +++ b/src/mainboard/google/rambi/variants/squawks/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/sumo/gpio.c b/src/mainboard/google/rambi/variants/sumo/gpio.c index 0856c29d24..c4cc40aa98 100644 --- a/src/mainboard/google/rambi/variants/sumo/gpio.c +++ b/src/mainboard/google/rambi/variants/sumo/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/swanky/gpio.c b/src/mainboard/google/rambi/variants/swanky/gpio.c index a713549cd9..3b62880b0d 100644 --- a/src/mainboard/google/rambi/variants/swanky/gpio.c +++ b/src/mainboard/google/rambi/variants/swanky/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/rambi/variants/winky/gpio.c b/src/mainboard/google/rambi/variants/winky/gpio.c index dcdf6f5d76..9c3a33875b 100644 --- a/src/mainboard/google/rambi/variants/winky/gpio.c +++ b/src/mainboard/google/rambi/variants/winky/gpio.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include <stdlib.h> #include <soc/gpio.h> #include <mainboard/google/rambi/irqroute.h> diff --git a/src/mainboard/google/slippy/variants/falco/romstage.c b/src/mainboard/google/slippy/variants/falco/romstage.c index 1903588816..c193d20e41 100644 --- a/src/mainboard/google/slippy/variants/falco/romstage.c +++ b/src/mainboard/google/slippy/variants/falco/romstage.c @@ -14,8 +14,8 @@ * GNU General Public License for more details. */ +#include <stddef.h> #include <stdint.h> -#include <stdlib.h> #include <string.h> #include <cbfs.h> #include <console/console.h> diff --git a/src/mainboard/google/smaug/boardid.c b/src/mainboard/google/smaug/boardid.c index 2512f830cf..74f6f11e22 100644 --- a/src/mainboard/google/smaug/boardid.c +++ b/src/mainboard/google/smaug/boardid.c @@ -15,7 +15,6 @@ #include <boardid.h> #include <soc/sdram.h> -#include <stdlib.h> #include "gpio.h" diff --git a/src/mainboard/google/smaug/pmic.c b/src/mainboard/google/smaug/pmic.c index 68e0f6ccd3..fdbabacc9c 100644 --- a/src/mainboard/google/smaug/pmic.c +++ b/src/mainboard/google/smaug/pmic.c @@ -20,7 +20,6 @@ #include <device/i2c_simple.h> #include <reset.h> #include <stdint.h> -#include <stdlib.h> #include "pmic.h" diff --git a/src/mainboard/google/storm/boardid.c b/src/mainboard/google/storm/boardid.c index 87f6d2a796..d952155e8d 100644 --- a/src/mainboard/google/storm/boardid.c +++ b/src/mainboard/google/storm/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <gpio.h> #include <console/console.h> -#include <stdlib.h> /* * Storm boards dedicate to the board ID three GPIOs in tertiary mode: 29, 30 diff --git a/src/mainboard/google/veyron/boardid.c b/src/mainboard/google/veyron/boardid.c index c9c68ccd5b..bf311cf605 100644 --- a/src/mainboard/google/veyron/boardid.c +++ b/src/mainboard/google/veyron/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <gpio.h> -#include <stdlib.h> uint32_t board_id(void) { diff --git a/src/mainboard/google/veyron/romstage.c b/src/mainboard/google/veyron/romstage.c index 3870b63a60..eba96c4650 100644 --- a/src/mainboard/google/veyron/romstage.c +++ b/src/mainboard/google/veyron/romstage.c @@ -27,7 +27,6 @@ #include <soc/grf.h> #include <soc/rk808.h> #include <soc/tsadc.h> -#include <stdlib.h> #include <symbols.h> #include <timestamp.h> #include <types.h> diff --git a/src/mainboard/google/veyron_mickey/boardid.c b/src/mainboard/google/veyron_mickey/boardid.c index 3833dbedfc..9c53e374d8 100644 --- a/src/mainboard/google/veyron_mickey/boardid.c +++ b/src/mainboard/google/veyron_mickey/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <gpio.h> -#include <stdlib.h> uint32_t board_id(void) { diff --git a/src/mainboard/google/veyron_mickey/romstage.c b/src/mainboard/google/veyron_mickey/romstage.c index c8a98428e9..d20bdb4c6d 100644 --- a/src/mainboard/google/veyron_mickey/romstage.c +++ b/src/mainboard/google/veyron_mickey/romstage.c @@ -27,7 +27,6 @@ #include <soc/grf.h> #include <soc/rk808.h> #include <soc/tsadc.h> -#include <stdlib.h> #include <symbols.h> #include <timestamp.h> #include <types.h> diff --git a/src/mainboard/google/veyron_rialto/boardid.c b/src/mainboard/google/veyron_rialto/boardid.c index 3833dbedfc..9c53e374d8 100644 --- a/src/mainboard/google/veyron_rialto/boardid.c +++ b/src/mainboard/google/veyron_rialto/boardid.c @@ -16,7 +16,6 @@ #include <boardid.h> #include <console/console.h> #include <gpio.h> -#include <stdlib.h> uint32_t board_id(void) { diff --git a/src/mainboard/google/veyron_rialto/romstage.c b/src/mainboard/google/veyron_rialto/romstage.c index d9fc42b7e6..ac651ef1d9 100644 --- a/src/mainboard/google/veyron_rialto/romstage.c +++ b/src/mainboard/google/veyron_rialto/romstage.c @@ -27,7 +27,6 @@ #include <soc/grf.h> #include <soc/rk808.h> #include <soc/tsadc.h> -#include <stdlib.h> #include <symbols.h> #include <timestamp.h> #include <types.h> |