mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
header file") miss out cleaning macro in this header file, and this
has broken implementation of a boot header capability in socfpga
SPL. Remove the macro in this file, and recovering it back
to proper functioning.
Fixes: ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
header file")
Signed-off-by: Chee, Tien Fong <tien.fong.chee@intel.com>
		
	
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			438 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			438 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Specialty padding for the Altera SoCFPGA preloader image
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __BOOT0_H
 | 
						|
#define __BOOT0_H
 | 
						|
 | 
						|
#ifdef CONFIG_SPL_BUILD
 | 
						|
	.balignl 64,0xf33db33f;
 | 
						|
 | 
						|
	.word	0x1337c0d3;	/* SoCFPGA preloader validation word */
 | 
						|
	.word	0xc01df00d;	/* Version, flags, length */
 | 
						|
	.word	0xcafec0d3;	/* Checksum, zero-pad */
 | 
						|
	nop;
 | 
						|
 | 
						|
	b reset;		/* SoCFPGA jumps here */
 | 
						|
	nop;
 | 
						|
	nop;
 | 
						|
	nop;
 | 
						|
#endif
 | 
						|
 | 
						|
#endif /* __BOOT0_H */
 |