blob: 26ba3a24e4f2360093126dcef8b63308b12f38cf [file] [log] [blame]
Andreas Bießmann62044c02015-02-06 23:06:41 +01001/*
2 * Copyright (C) 2004-2006 Atmel Corporation
Andreas Bießmann07dafdb2016-05-01 03:46:16 +02003 * Copyright (C) 2015 Andreas Bießmann <andreas@biessmann.org>
Andreas Bießmann62044c02015-02-06 23:06:41 +01004 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7#include <common.h>
8#include <atmel_mci.h>
9#include <asm/arch/hardware.h>
10
11/* provide cpu_mmc_init, to overwrite provide board_mmc_init */
12int cpu_mmc_init(bd_t *bd)
13{
14 /* This calls the atmel_mci_init in gen_atmel_mci.c */
15 return atmel_mci_init((void *)ATMEL_BASE_MMCI);
16}