summaryrefslogtreecommitdiffstats
path: root/src/commonlib/storage/sd_mmc.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-21 09:55:49 +0100
committerNico Huber <nico.h@gmx.de>2019-04-06 16:02:49 +0000
commitadd76f91d5e6e18d5df52a9ad34906459f5f69e2 (patch)
tree4a561a339b0f7eeeaa20513a2706745dc649f5c7 /src/commonlib/storage/sd_mmc.c
parent2452c8414dca45d5e7e3006dc034d523c7ab06b2 (diff)
downloadcoreboot-add76f91d5e6e18d5df52a9ad34906459f5f69e2.tar.gz
coreboot-add76f91d5e6e18d5df52a9ad34906459f5f69e2.tar.bz2
coreboot-add76f91d5e6e18d5df52a9ad34906459f5f69e2.zip
src: Use #include <timer.h> when appropriate
Also, extra-lines added or removed and local includes moved down. Change-Id: I5e739233f3742fd68d537f671642bb04886e3009 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32009 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/storage/sd_mmc.c')
-rw-r--r--src/commonlib/storage/sd_mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commonlib/storage/sd_mmc.c b/src/commonlib/storage/sd_mmc.c
index bda8d7470c26..fd59bd0b6fca 100644
--- a/src/commonlib/storage/sd_mmc.c
+++ b/src/commonlib/storage/sd_mmc.c
@@ -24,11 +24,11 @@
#include <commonlib/storage.h>
#include <delay.h>
#include <endian.h>
+#include <string.h>
+
#include "mmc.h"
#include "sd_mmc.h"
#include "storage.h"
-#include <string.h>
-#include <timer.h>
uint64_t sd_mmc_extract_uint32_bits(const uint32_t *array, int start, int count)
{