Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 1 | /* |
Stephen Warren | 8780f22 | 2015-02-16 12:16:14 -0700 | [diff] [blame^] | 2 | * (C) Copyright 2012,2015 Stephen Warren |
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 3 | * |
Stephen Warren | 29e494c | 2015-02-16 12:16:13 -0700 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0 |
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #ifndef _BCM2835_SDHCI_H_ | ||||
8 | #define _BCM2835_SDHCI_H_ | ||||
9 | |||||
Stephen Warren | 8780f22 | 2015-02-16 12:16:14 -0700 | [diff] [blame^] | 10 | #ifdef CONFIG_BCM2836 |
11 | #define BCM2835_SDHCI_BASE 0x3f300000 | ||||
12 | #else | ||||
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 13 | #define BCM2835_SDHCI_BASE 0x20300000 |
Stephen Warren | 8780f22 | 2015-02-16 12:16:14 -0700 | [diff] [blame^] | 14 | #endif |
Stephen Warren | 552b4d4 | 2013-01-29 16:37:41 +0000 | [diff] [blame] | 15 | |
16 | int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq); | ||||
17 | |||||
18 | #endif |