aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm283x/include/mach/sdhci.h
blob: 7323690687057a0c4715bc498273e39c54ddf358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * (C) Copyright 2012,2015 Stephen Warren
 */

#ifndef _BCM2835_SDHCI_H_
#define _BCM2835_SDHCI_H_

#include <asm/arch/base.h>

#define BCM2835_SDHCI_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \
				  rpi_bcm283x_base + 0x00300000; })

int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq);

#endif