mmc.c 431 B

12345678910111213141516
  1. /*
  2. * Copyright (C) 2004-2006 Atmel Corporation
  3. * Copyright (C) 2015 Andreas Bießmann <andreas@biessmann.org>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #include <common.h>
  8. #include <atmel_mci.h>
  9. #include <asm/arch/hardware.h>
  10. /* provide cpu_mmc_init, to overwrite provide board_mmc_init */
  11. int cpu_mmc_init(bd_t *bd)
  12. {
  13. /* This calls the atmel_mci_init in gen_atmel_mci.c */
  14. return atmel_mci_init((void *)ATMEL_BASE_MMCI);
  15. }