ARM: bcm283x: Move BCM283x_BASE to a global variable
[oweals/u-boot.git] / arch / arm / mach-bcm283x / include / mach / sdhci.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * (C) Copyright 2012,2015 Stephen Warren
4  */
5
6 #ifndef _BCM2835_SDHCI_H_
7 #define _BCM2835_SDHCI_H_
8
9 #include <asm/arch/base.h>
10
11 #define BCM2835_SDHCI_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \
12                                   rpi_bcm283x_base + 0x00300000; })
13
14 int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq);
15
16 #endif