]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/avr32/cpu/mmc.c
stm32: Correct positioning of declaration
[people/ms/u-boot.git] / arch / avr32 / cpu / mmc.c
CommitLineData
26db7903
AB
1/*
2 * Copyright (C) 2004-2006 Atmel Corporation
09c2b8f3 3 * Copyright (C) 2015 Andreas Bießmann <andreas@biessmann.org>
26db7903
AB
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
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}