Andreas Bießmann | 62044c0 | 2015-02-06 23:06:41 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2006 Atmel Corporation |
Andreas Bießmann | 07dafdb | 2016-05-01 03:46:16 +0200 | [diff] [blame] | 3 | * Copyright (C) 2015 Andreas Bießmann <andreas@biessmann.org> |
Andreas Bießmann | 62044c0 | 2015-02-06 23:06:41 +0100 | [diff] [blame] | 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 | } |