mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Add support for Amlogic A1 SoC family. Signed-off-by: Igor Prusov <ivprusov@sberdevices.ru> Signed-off-by: Evgeny Bachinin <eabachinin@sberdevices.ru> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230505125639.3605-4-ivprusov@sberdevices.ru Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
		
			
				
	
	
		
			21 lines
		
	
	
		
			478 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			478 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * (C) Copyright 2023 SberDevices, Inc.
 | 
						|
 * Author: Igor Prusov <ivprusov@sberdevices.ru>
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __MESON_A1_H__
 | 
						|
#define __MESON_A1_H__
 | 
						|
 | 
						|
#define A1_SYSCTRL_BASE			0xfe005800
 | 
						|
 | 
						|
/* SYSCTRL registers */
 | 
						|
#define A1_SYSCTRL_ADDR(off)		(A1_SYSCTRL_BASE + ((off) << 2))
 | 
						|
 | 
						|
#define A1_SYSCTRL_SEC_STATUS_REG4	A1_SYSCTRL_ADDR(0xc4)
 | 
						|
 | 
						|
#define A1_SYSCTRL_MEM_SIZE_MASK	0xFFFF0000
 | 
						|
#define A1_SYSCTRL_MEM_SIZE_SHIFT	16
 | 
						|
 | 
						|
#endif /* __MESON_A1_H__ */
 |