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>
This commit is contained in:
parent
6572fe538a
commit
282171c105
|
@ -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>
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <soc/dmc.h>
|
||||
#include <soc/clk.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
const struct mem_timings mem_timings[] = {
|
||||
{
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <device/i2c_simple.h>
|
||||
#include <reset.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "pmic.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <delay.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <reset.h>
|
||||
|
||||
#include "pmic.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <boardid.h>
|
||||
#include <console/console.h>
|
||||
#include <gpio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
uint32_t board_id(void)
|
||||
{
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <delay.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <reset.h>
|
||||
|
||||
#include "pmic.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <boardid.h>
|
||||
#include <console/console.h>
|
||||
#include <gpio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
uint32_t board_id(void)
|
||||
{
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <delay.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <reset.h>
|
||||
|
||||
#include "pmic.h"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <mainboard/google/rambi/irqroute.h>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <boardid.h>
|
||||
#include <soc/sdram.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gpio.h"
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <device/i2c_simple.h>
|
||||
#include <reset.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "pmic.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <boardid.h>
|
||||
#include <console/console.h>
|
||||
#include <gpio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
uint32_t board_id(void)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <boardid.h>
|
||||
#include <console/console.h>
|
||||
#include <gpio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
uint32_t board_id(void)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <boardid.h>
|
||||
#include <console/console.h>
|
||||
#include <gpio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
uint32_t board_id(void)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue