summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu/mmc.c
blob: b7213e4e7a7372ec828a65c2c6e16752c882aabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (C) 2004-2006 Atmel Corporation
 * Copyright (C) 2015 Andreas Bießmann <andreas.devel@googlmail.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */
#include <common.h>
#include <atmel_mci.h>
#include <asm/arch/hardware.h>

/* provide cpu_mmc_init, to overwrite provide board_mmc_init */
int cpu_mmc_init(bd_t *bd)
{
	/* This calls the atmel_mci_init in gen_atmel_mci.c */
	return atmel_mci_init((void *)ATMEL_BASE_MMCI);
}