diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-10-27 16:40:25 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-03-29 20:00:20 +0000 |
commit | eb789f0b79aa99e214ccefc04f9f78b550f52f32 (patch) | |
tree | 59f72703d67577e4aaf76e276ddd442b583cbc14 /src/mainboard | |
parent | 28fa33ccbce042d09daf64efa2097b67570ad4af (diff) |
src: Use include <reset.h> when appropriate
Change-Id: I3b852cae4ef84d257bf1e5486447583bdd16b441
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/29301
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/foster/pmic.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/smaug/pmic.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/veyron/bootblock.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/veyron_mickey/bootblock.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/veyron_rialto/bootblock.c | 1 |
5 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/google/foster/pmic.c b/src/mainboard/google/foster/pmic.c index 8d4f855175..e3efd34529 100644 --- a/src/mainboard/google/foster/pmic.c +++ b/src/mainboard/google/foster/pmic.c @@ -18,11 +18,11 @@ #include <console/console.h> #include <delay.h> #include <device/i2c_simple.h> +#include <reset.h> #include <stdint.h> #include <stdlib.h> #include "pmic.h" -#include "reset.h" enum { MAX77620_I2C_ADDR = 0x3c diff --git a/src/mainboard/google/smaug/pmic.c b/src/mainboard/google/smaug/pmic.c index 75075ad6fd..d9dacb7d08 100644 --- a/src/mainboard/google/smaug/pmic.c +++ b/src/mainboard/google/smaug/pmic.c @@ -18,11 +18,11 @@ #include <console/console.h> #include <delay.h> #include <device/i2c_simple.h> +#include <reset.h> #include <stdint.h> #include <stdlib.h> #include "pmic.h" -#include "reset.h" enum { MAX77620_I2C_ADDR = 0x3c, diff --git a/src/mainboard/google/veyron/bootblock.c b/src/mainboard/google/veyron/bootblock.c index 86834bfd71..80fe7e8266 100644 --- a/src/mainboard/google/veyron/bootblock.c +++ b/src/mainboard/google/veyron/bootblock.c @@ -18,7 +18,6 @@ #include <assert.h> #include <bootblock_common.h> #include <delay.h> -#include <reset.h> #include <soc/clock.h> #include <soc/i2c.h> #include <soc/grf.h> diff --git a/src/mainboard/google/veyron_mickey/bootblock.c b/src/mainboard/google/veyron_mickey/bootblock.c index 18047f28f9..1107b1a6a4 100644 --- a/src/mainboard/google/veyron_mickey/bootblock.c +++ b/src/mainboard/google/veyron_mickey/bootblock.c @@ -18,7 +18,6 @@ #include <assert.h> #include <bootblock_common.h> #include <delay.h> -#include <reset.h> #include <soc/clock.h> #include <soc/i2c.h> #include <soc/grf.h> diff --git a/src/mainboard/google/veyron_rialto/bootblock.c b/src/mainboard/google/veyron_rialto/bootblock.c index 73f57d15ec..91396b0074 100644 --- a/src/mainboard/google/veyron_rialto/bootblock.c +++ b/src/mainboard/google/veyron_rialto/bootblock.c @@ -18,7 +18,6 @@ #include <assert.h> #include <bootblock_common.h> #include <delay.h> -#include <reset.h> #include <soc/clock.h> #include <soc/i2c.h> #include <soc/grf.h> |