blob: 7323690687057a0c4715bc498273e39c54ddf358 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0 */
Stephen Warren552b4d42013-01-29 16:37:41 +00002/*
Stephen Warren8780f222015-02-16 12:16:14 -07003 * (C) Copyright 2012,2015 Stephen Warren
Stephen Warren552b4d42013-01-29 16:37:41 +00004 */
5
6#ifndef _BCM2835_SDHCI_H_
7#define _BCM2835_SDHCI_H_
8
Matthias Brugger2c68dee2019-11-19 16:01:03 +01009#include <asm/arch/base.h>
10
11#define BCM2835_SDHCI_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \
12 rpi_bcm283x_base + 0x00300000; })
Stephen Warren552b4d42013-01-29 16:37:41 +000013
14int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq);
15
16#endif