mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Drop the pinmux setup in the board in favor of setting it up in the device tree. Device tree nodes match nodes used in the Linux device tree. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			489 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			489 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+
 | 
						|
/*
 | 
						|
 *  (C) Copyright 2010-2013
 | 
						|
 *  NVIDIA Corporation <www.nvidia.com>
 | 
						|
 *
 | 
						|
 *  (C) Copyright 2021
 | 
						|
 *  Svyatoslav Ryhel <clamor95@gmail.com>
 | 
						|
 */
 | 
						|
 | 
						|
#include <fdt_support.h>
 | 
						|
 | 
						|
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
 | 
						|
int ft_board_setup(void *blob, struct bd_info *bd)
 | 
						|
{
 | 
						|
	/* Remove TrustZone nodes */
 | 
						|
	fdt_del_node_and_alias(blob, "/firmware");
 | 
						|
	fdt_del_node_and_alias(blob, "/reserved-memory/trustzone@bfe00000");
 | 
						|
 | 
						|
	return 0;
 | 
						|
}
 | 
						|
#endif
 |