mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
8e3361c88a
We move the per SOC define BCM283x_BASE to a global variable. This is a first step to provide a single binary for several bcm283x SoCs. Signed-off-by: Matthias Brugger <mbrugger@suse.com>
16 lines
334 B
C
16 lines
334 B
C
/* 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
|