diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-23 07:07:49 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-25 16:06:43 +0000 |
commit | 231537bb8fa013b11e7fbbf3f0b7c7b1496ea210 (patch) | |
tree | 9fa9947d454724dffcd69a3669b5b5dc007e78fc /src/soc/mediatek/mt8173 | |
parent | 308185546b1f0a0083db80da7ebef7b254fa2129 (diff) |
soc/mediatek: Use 'include <stdlib.h>' when appropriate
Also including <types.h>, is supposed to provide stdint and stddef.
Change-Id: Id6d881055826044d04843ba165641131b9111342
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33690
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8173')
-rw-r--r-- | src/soc/mediatek/mt8173/flash_controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8173/flash_controller.c b/src/soc/mediatek/mt8173/flash_controller.c index bca2ecf98d..b491a41efd 100644 --- a/src/soc/mediatek/mt8173/flash_controller.c +++ b/src/soc/mediatek/mt8173/flash_controller.c @@ -21,12 +21,12 @@ #include <spi_flash.h> #include <spi-generic.h> #include <stdint.h> -#include <stdlib.h> #include <string.h> #include <symbols.h> #include <timer.h> #include <soc/symbols.h> #include <soc/flash_controller.h> +#include <types.h> #define get_nth_byte(d, n) ((d >> (8 * n)) & 0xff) |