Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 2 | /* |
Stephen Warren | 8780f22 | 2015-02-16 12:16:14 -0700 | [diff] [blame] | 3 | * (C) Copyright 2012,2015 Stephen Warren |
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _BCM2835_SDHCI_H_ |
| 7 | #define _BCM2835_SDHCI_H_ |
| 8 | |
Matthias Brugger | 2c68dee | 2019-11-19 16:01:03 +0100 | [diff] [blame] | 9 | #include <asm/arch/base.h> |
| 10 | |
| 11 | #define BCM2835_SDHCI_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \ |
| 12 | rpi_bcm283x_base + 0x00300000; }) |
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 13 | |
| 14 | int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq); |
| 15 | |
| 16 | #endif |