blob: 2a21ccbf66baea64fb58b5be9d8ba9c46c0d9029 [file] [log] [blame]
Stephen Warren9a4fbe42013-01-29 16:37:41 +00001/*
Stephen Warrendb753562015-02-16 12:16:14 -07002 * (C) Copyright 2012,2015 Stephen Warren
Stephen Warren9a4fbe42013-01-29 16:37:41 +00003 *
Stephen Warrena0331712015-02-16 12:16:13 -07004 * SPDX-License-Identifier: GPL-2.0
Stephen Warren9a4fbe42013-01-29 16:37:41 +00005 */
6
7#ifndef _BCM2835_SDHCI_H_
8#define _BCM2835_SDHCI_H_
9
Stephen Warrendb753562015-02-16 12:16:14 -070010#ifdef CONFIG_BCM2836
11#define BCM2835_SDHCI_BASE 0x3f300000
12#else
Stephen Warren9a4fbe42013-01-29 16:37:41 +000013#define BCM2835_SDHCI_BASE 0x20300000
Stephen Warrendb753562015-02-16 12:16:14 -070014#endif
Stephen Warren9a4fbe42013-01-29 16:37:41 +000015
16int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq);
17
18#endif