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>
This commit is contained in:
Elyes HAOUAS
2019-03-21 09:55:49 +01:00
committed by Nico Huber
parent 2452c8414d
commit add76f91d5
31 changed files with 21 additions and 35 deletions

View File

@ -24,9 +24,9 @@
#include <commonlib/storage.h>
#include <delay.h>
#include <endian.h>
#include "sd_mmc.h"
#include "storage.h"
#include <timer.h>
int sd_send_if_cond(struct storage_media *media)
{

View File

@ -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)
{

View File

@ -22,11 +22,11 @@
#include <commonlib/storage.h>
#include <delay.h>
#include <endian.h>
#include <string.h>
#include "sdhci.h"
#include "sd_mmc.h"
#include "storage.h"
#include <string.h>
#include <timer.h>
static void sdhci_alloc_adma_descs(struct sdhci_ctrlr *sdhci_ctrlr,
u32 need_descriptors)