mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
db75356f14
The bcm2835 and bcm2836 are essentially identical, except: - The CPU is an ARM1176 v.s. a quad-core Cortex-A7. - The physical address of many IO controllers has moved. Rather than introducing a whole new bcm2836 value for $(SOC) or $(ARCH), update the existing bcm2835 code to handle the minor differences, and plumb it into the ARMv7 CPU architecture. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
18 lines
314 B
C
18 lines
314 B
C
/*
|
|
* (C) Copyright 2012,2015 Stephen Warren
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef _BCM2835_SDHCI_H_
|
|
#define _BCM2835_SDHCI_H_
|
|
|
|
#ifdef CONFIG_BCM2836
|
|
#define BCM2835_SDHCI_BASE 0x3f300000
|
|
#else
|
|
#define BCM2835_SDHCI_BASE 0x20300000
|
|
#endif
|
|
|
|
int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq);
|
|
|
|
#endif
|