diff options
Diffstat (limited to 'src/commonlib/storage/sdhci.c')
-rw-r--r-- | src/commonlib/storage/sdhci.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/commonlib/storage/sdhci.c b/src/commonlib/storage/sdhci.c index 410d4fcc85..fbc6c985a5 100644 --- a/src/commonlib/storage/sdhci.c +++ b/src/commonlib/storage/sdhci.c @@ -6,7 +6,7 @@ #include "bouncebuf.h" #include <commonlib/sd_mmc_ctrlr.h> #include <commonlib/sdhci.h> -#include <commonlib/stdlib.h> +#include <commonlib/bsd/stdlib.h> #include <commonlib/storage.h> #include <delay.h> #include <endian.h> @@ -21,11 +21,6 @@ || (CONFIG(SDHCI_ADMA_IN_ROMSTAGE) && ENV_SEPARATE_ROMSTAGE) \ || ENV_POSTCAR || ENV_RAMSTAGE) -__weak void *dma_malloc(size_t length_in_bytes) -{ - return malloc(length_in_bytes); -} - void sdhci_reset(struct sdhci_ctrlr *sdhci_ctrlr, u8 mask) { struct stopwatch sw; |