HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33705
Change subject: mb/google/{slippy,smaug,storm}: Remove #include <stdlib.h> when not used ......................................................................
mb/google/{slippy,smaug,storm}: Remove #include <stdlib.h> when not used
Change-Id: I5a7a56f3a16731c67d086e46f8cdcc04a2513451 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/google/slippy/variants/falco/romstage.c M src/mainboard/google/smaug/boardid.c M src/mainboard/google/smaug/pmic.c M src/mainboard/google/storm/boardid.c 4 files changed, 1 insertion(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/33705/1
diff --git a/src/mainboard/google/slippy/variants/falco/romstage.c b/src/mainboard/google/slippy/variants/falco/romstage.c index 25f8d27..a1e8473 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 2512f83..74f6f11 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 9add211..49a0702 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 87f6d2a..d952155 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
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/33705 )
Change subject: mb/google/{slippy,smaug,storm}: Remove #include <stdlib.h> when not used ......................................................................
Abandoned
see https://review.coreboot.org/c/coreboot/+/33699