Andreas Bießmann | 62044c0 | 2015-02-06 23:06:41 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2006 Atmel Corporation |
| 3 | * Copyright (C) 2015 Andreas Bießmann <andreas.devel@googlmail.com> |
| 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 */ |
| 12 | int 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 | } |