summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu/mmc.c
blob: 26ba3a24e4f2360093126dcef8b63308b12f38cf (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@biessmann.org>
 *
 * 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);
}