mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	arm: mach-rmobile: Drop <common.h>
For most source files we can just drop <common.h>. We need to add an include for <asm/u-boot.h> in a couple of places. Also sort the include list in memmap-gen3.c while we're here. Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
This commit is contained in:
		
							parent
							
								
									0a5d5fe30d
								
							
						
					
					
						commit
						93565cc94c
					
				@ -3,7 +3,7 @@
 | 
			
		||||
 * (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 | 
			
		||||
 * (C) Copyright 2012 Renesas Solutions Corp.
 | 
			
		||||
 */
 | 
			
		||||
#include <common.h>
 | 
			
		||||
 | 
			
		||||
#include <init.h>
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
 * (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 | 
			
		||||
 * (C) Copyright 2012 Renesas Solutions Corp.
 | 
			
		||||
 */
 | 
			
		||||
#include <common.h>
 | 
			
		||||
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
 | 
			
		||||
u32 rmobile_get_cpu_type(void)
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (C) 2013,2014 Renesas Electronics Corporation
 | 
			
		||||
 */
 | 
			
		||||
#include <common.h>
 | 
			
		||||
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
 | 
			
		||||
#define PRR_MASK		0x7fff
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
 * Copyright (C) 2021 Renesas Electronics Corporation
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
#include <common.h>
 | 
			
		||||
 | 
			
		||||
#include <linux/libfdt.h>
 | 
			
		||||
 | 
			
		||||
/* If the firmware passed a device tree, use it for soc identification. */
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,6 @@
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <common.h>
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
#include <linux/libfdt.h>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
 * (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 | 
			
		||||
 * (C) Copyright 2012-2021 Renesas Solutions Corp.
 | 
			
		||||
 */
 | 
			
		||||
#include <common.h>
 | 
			
		||||
 | 
			
		||||
#include <cpu_func.h>
 | 
			
		||||
#include <asm/cache.h>
 | 
			
		||||
#include <init.h>
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,6 @@
 | 
			
		||||
 * Copyright (C) 2012  Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <common.h>
 | 
			
		||||
#include <net.h>
 | 
			
		||||
#include <linux/errno.h>
 | 
			
		||||
#include <netdev.h>
 | 
			
		||||
 | 
			
		||||
@ -5,10 +5,10 @@
 | 
			
		||||
 * Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <common.h>
 | 
			
		||||
#include <cpu_func.h>
 | 
			
		||||
#include <asm/armv8/mmu.h>
 | 
			
		||||
#include <asm/global_data.h>
 | 
			
		||||
#include <asm/u-boot.h>
 | 
			
		||||
#include <cpu_func.h>
 | 
			
		||||
 | 
			
		||||
#define GEN3_NR_REGIONS 16
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -6,9 +6,9 @@
 | 
			
		||||
 * Copyright (C) 2023 Renesas Electronics Corp.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <common.h>
 | 
			
		||||
#include <asm/armv8/mmu.h>
 | 
			
		||||
#include <asm/global_data.h>
 | 
			
		||||
#include <asm/u-boot.h>
 | 
			
		||||
#include <cpu_func.h>
 | 
			
		||||
 | 
			
		||||
#define RZG2L_NR_REGIONS 16
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,7 @@
 | 
			
		||||
 * along with this program; if not, write to the Free Software
 | 
			
		||||
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 | 
			
		||||
 */
 | 
			
		||||
#include <common.h>
 | 
			
		||||
 | 
			
		||||
#include <sh_pfc.h>
 | 
			
		||||
#include <asm/gpio.h>
 | 
			
		||||
#include <asm/arch/irqs.h>
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,6 @@
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <common.h>
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
#include <asm/psci.h>
 | 
			
		||||
#include <asm/secure.h>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user