mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	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>
		
			
				
	
	
		
			17 lines
		
	
	
		
			334 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 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
 |