mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	Provide a board_lmb_reserve helper function to ensure we reserve the page of memory we are using for the boot page translation code. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
		
			
				
	
	
		
			21 lines
		
	
	
		
			488 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			488 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __MPC85XX_MP_H_
 | 
						|
#define __MPC85XX_MP_H_
 | 
						|
 | 
						|
ulong get_spin_addr(void);
 | 
						|
void setup_mp(void);
 | 
						|
u32 get_my_id(void);
 | 
						|
void cpu_mp_lmb_reserve(struct lmb *lmb);
 | 
						|
 | 
						|
#define BOOT_ENTRY_ADDR_UPPER	0
 | 
						|
#define BOOT_ENTRY_ADDR_LOWER	1
 | 
						|
#define BOOT_ENTRY_R3_UPPER	2
 | 
						|
#define BOOT_ENTRY_R3_LOWER	3
 | 
						|
#define BOOT_ENTRY_RESV		4
 | 
						|
#define BOOT_ENTRY_PIR		5
 | 
						|
#define BOOT_ENTRY_R6_UPPER	6
 | 
						|
#define BOOT_ENTRY_R6_LOWER	7
 | 
						|
#define NUM_BOOT_ENTRY		8
 | 
						|
#define SIZE_BOOT_ENTRY		(NUM_BOOT_ENTRY * sizeof(u32))
 | 
						|
 | 
						|
#endif
 |