blob: 64e582c114f5401d59b7b2f3efdcecbc008f4466 [file] [log] [blame]
Stephen Warren552b4d42013-01-29 16:37:41 +00001/*
Stephen Warren8780f222015-02-16 12:16:14 -07002 * (C) Copyright 2012,2015 Stephen Warren
Stephen Warren552b4d42013-01-29 16:37:41 +00003 *
Stephen Warren29e494c2015-02-16 12:16:13 -07004 * SPDX-License-Identifier: GPL-2.0
Stephen Warren552b4d42013-01-29 16:37:41 +00005 */
6
7#ifndef _BCM2835_SDHCI_H_
8#define _BCM2835_SDHCI_H_
9
Stephen Warren9d5990b2016-03-16 21:40:56 -060010#ifndef CONFIG_BCM2835
Stephen Warren8780f222015-02-16 12:16:14 -070011#define BCM2835_SDHCI_BASE 0x3f300000
12#else
Stephen Warren552b4d42013-01-29 16:37:41 +000013#define BCM2835_SDHCI_BASE 0x20300000
Stephen Warren8780f222015-02-16 12:16:14 -070014#endif
Stephen Warren552b4d42013-01-29 16:37:41 +000015
16int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq);
17
18#endif