mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 08:21:36 +01:00 
			
		
		
		
	This patch adds support for MediaTek MT7621 SoC. All files are dedicated for u-boot. The default build target is u-boot-mt7621.bin. The specification of this chip: https://www.mediatek.com/products/homenetworking/mt7621 Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			438 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			438 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| /*
 | |
|  * Copyright (C) 2022 MediaTek Inc. All rights reserved.
 | |
|  *
 | |
|  * Author: Weijie Gao <weijie.gao@mediatek.com>
 | |
|  */
 | |
| 
 | |
| #include <asm/addrspace.h>
 | |
| #include <asm/asm.h>
 | |
| #include <asm/regdef.h>
 | |
| #include "mt7621.h"
 | |
| 
 | |
| LEAF(mips_sram_init)
 | |
| 	li	t0, KSEG1ADDR(FE_BASE)
 | |
| 	li	t1, FE_PSE_RESET
 | |
| 	sw	t1, FE_RST_GLO_REG(t0)
 | |
| 
 | |
| 	li	t1, (FE_PSE_RAM | FE_PSE_MEM_EN)
 | |
| 	sw	t1, FE_RST_GLO_REG(t0)
 | |
| 
 | |
| 	jr	ra
 | |
| 	END(mips_sram_init)
 |