Most of the defines are specific to omap1 and omap2+, and should be in the local headers. Only minimal function prototypes need to be shared. As discussed on linux-arm-kernel, we want to avoid relative includes for the arch/arm/*omap* shared code: http://www.spinics.net/lists/linux-omap/msg80520.html So this patch re-adds a minimal plat/sram.h. The new plat/sram.h must not be included from drivers, that will break build for omap2+ CONFIG_MULTIPLATFORM. Note that this patch temporarily adds two more relative includes; Those will be removed in the following patch. Signed-off-by: Tony Lindgren <tony@atomide.com>
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			227 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			227 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#include <plat/sram.h>
 | 
						|
 | 
						|
extern void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl);
 | 
						|
 | 
						|
/* Do not use these */
 | 
						|
extern void omap1_sram_reprogram_clock(u32 ckctl, u32 dpllctl);
 | 
						|
extern unsigned long omap1_sram_reprogram_clock_sz;
 |