diff options
Diffstat (limited to 'arch/sandbox')
| -rw-r--r-- | arch/sandbox/cpu/cache.c | 1 | ||||
| -rw-r--r-- | arch/sandbox/cpu/cpu.c | 1 | ||||
| -rw-r--r-- | arch/sandbox/cpu/sdl.c | 2 | ||||
| -rw-r--r-- | arch/sandbox/cpu/spl.c | 1 | ||||
| -rw-r--r-- | arch/sandbox/cpu/start.c | 2 | ||||
| -rw-r--r-- | arch/sandbox/cpu/state.c | 3 | ||||
| -rw-r--r-- | arch/sandbox/dts/test.dts | 4 | ||||
| -rw-r--r-- | arch/sandbox/include/asm/clk.h | 1 | ||||
| -rw-r--r-- | arch/sandbox/include/asm/global_data.h | 2 | ||||
| -rw-r--r-- | arch/sandbox/include/asm/io.h | 2 | ||||
| -rw-r--r-- | arch/sandbox/include/asm/state.h | 1 | ||||
| -rw-r--r-- | arch/sandbox/lib/bootm.c | 1 | ||||
| -rw-r--r-- | arch/sandbox/lib/fdt_fixup.c | 1 | ||||
| -rw-r--r-- | arch/sandbox/lib/interrupts.c | 1 | ||||
| -rw-r--r-- | arch/sandbox/lib/pci_io.c | 1 | 
15 files changed, 11 insertions, 13 deletions
| diff --git a/arch/sandbox/cpu/cache.c b/arch/sandbox/cpu/cache.c index 46c62c0b446..c8a5e64214b 100644 --- a/arch/sandbox/cpu/cache.c +++ b/arch/sandbox/cpu/cache.c @@ -3,7 +3,6 @@   * Copyright 2020, Heinrich Schuchardt <xypron.glpk@gmx.de>   */ -#include <common.h>  #include <cpu_func.h>  #include <asm/state.h> diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index d134905e3f5..0ed85b354cf 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -5,7 +5,6 @@  #define LOG_CATEGORY	LOGC_SANDBOX -#include <common.h>  #include <bootstage.h>  #include <cpu_func.h>  #include <errno.h> diff --git a/arch/sandbox/cpu/sdl.c b/arch/sandbox/cpu/sdl.c index 590e406517b..ed84646bdab 100644 --- a/arch/sandbox/cpu/sdl.c +++ b/arch/sandbox/cpu/sdl.c @@ -72,7 +72,7 @@ static struct sdl_info {  static void sandbox_sdl_poll_events(void)  {  	/* -	 * We don't want to include common.h in this file since it uses +	 * We don't want to include cpu_func.h in this file since it uses  	 * system headers. So add a declation here.  	 */  	extern void reset_cpu(void); diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 16b76627983..9ad9da686c6 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c @@ -3,7 +3,6 @@   * Copyright (c) 2016 Google, Inc   */ -#include <common.h>  #include <dm.h>  #include <hang.h>  #include <handoff.h> diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 2589c2eba73..dce80416529 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -3,7 +3,7 @@   * Copyright (c) 2011-2012 The Chromium OS Authors.   */ -#include <common.h> +#include <config.h>  #include <cli.h>  #include <command.h>  #include <efi_loader.h> diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c index e38bb248b7f..a9ca79e76d2 100644 --- a/arch/sandbox/cpu/state.c +++ b/arch/sandbox/cpu/state.c @@ -3,9 +3,8 @@   * Copyright (c) 2011-2012 The Chromium OS Authors.   */ -#include <common.h> -#include <autoboot.h>  #include <bloblist.h> +#include <config.h>  #include <errno.h>  #include <fdtdec.h>  #include <log.h> diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 9131eda970b..4fe72664c4b 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -631,9 +631,10 @@  		clocks = <&clk_fixed>,  			 <&clk_sandbox 1>,  			 <&clk_sandbox 0>, +			 <&ccf 11>,  			 <&clk_sandbox 3>,  			 <&clk_sandbox 2>; -		clock-names = "fixed", "i2c", "spi", "uart2", "uart1"; +		clock-names = "fixed", "i2c", "spi", "i2c_root", "uart2", "uart1";  	};  	clk-test2 { @@ -654,6 +655,7 @@  	ccf: clk-ccf {  		compatible = "sandbox,clk-ccf"; +		#clock-cells = <1>;  	};  	efi-media { diff --git a/arch/sandbox/include/asm/clk.h b/arch/sandbox/include/asm/clk.h index 2b7dbca8f75..d4e04ad1486 100644 --- a/arch/sandbox/include/asm/clk.h +++ b/arch/sandbox/include/asm/clk.h @@ -38,6 +38,7 @@ enum sandbox_clk_test_id {  	SANDBOX_CLK_TEST_ID_FIXED,  	SANDBOX_CLK_TEST_ID_SPI,  	SANDBOX_CLK_TEST_ID_I2C, +	SANDBOX_CLK_TEST_ID_I2C_ROOT,  	SANDBOX_CLK_TEST_ID_DEVM1,  	SANDBOX_CLK_TEST_ID_DEVM2,  	SANDBOX_CLK_TEST_ID_DEVM_NULL, diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h index c6977735029..001b2b53c1c 100644 --- a/arch/sandbox/include/asm/global_data.h +++ b/arch/sandbox/include/asm/global_data.h @@ -9,6 +9,8 @@  #ifndef	__ASM_GBL_DATA_H  #define __ASM_GBL_DATA_H +#include <linux/types.h> +  /* Architecture-specific global data */  struct arch_global_data {  	uint8_t		*ram_buf;	/* emulated RAM buffer */ diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h index 77a02e5f524..3c0a102697e 100644 --- a/arch/sandbox/include/asm/io.h +++ b/arch/sandbox/include/asm/io.h @@ -6,6 +6,8 @@  #ifndef __SANDBOX_ASM_IO_H  #define __SANDBOX_ASM_IO_H +#include <linux/types.h> +  enum sandboxio_size_t {  	SB_SIZE_8,  	SB_SIZE_16, diff --git a/arch/sandbox/include/asm/state.h b/arch/sandbox/include/asm/state.h index 59a20595f51..c84a1f7060f 100644 --- a/arch/sandbox/include/asm/state.h +++ b/arch/sandbox/include/asm/state.h @@ -6,7 +6,6 @@  #ifndef __SANDBOX_STATE_H  #define __SANDBOX_STATE_H -#include <config.h>  #include <sysreset.h>  #include <stdbool.h>  #include <linux/list.h> diff --git a/arch/sandbox/lib/bootm.c b/arch/sandbox/lib/bootm.c index e56de90e75b..8dbcd9ff7dd 100644 --- a/arch/sandbox/lib/bootm.c +++ b/arch/sandbox/lib/bootm.c @@ -4,7 +4,6 @@   * Copyright (c) 2015 Sjoerd Simons <sjoerd.simons@collabora.co.uk>   */ -#include <common.h>  #include <bootm.h>  #include <bootstage.h>  #include <image.h> diff --git a/arch/sandbox/lib/fdt_fixup.c b/arch/sandbox/lib/fdt_fixup.c index a646f2059c2..e333bd52ea2 100644 --- a/arch/sandbox/lib/fdt_fixup.c +++ b/arch/sandbox/lib/fdt_fixup.c @@ -2,7 +2,6 @@  #define LOG_CATEGORY LOGC_ARCH -#include <common.h>  #include <fdt_support.h>  #include <log.h> diff --git a/arch/sandbox/lib/interrupts.c b/arch/sandbox/lib/interrupts.c index 4d7cbff802c..3f6583e11f0 100644 --- a/arch/sandbox/lib/interrupts.c +++ b/arch/sandbox/lib/interrupts.c @@ -5,7 +5,6 @@   * found in the LICENSE file.   */ -#include <common.h>  #include <efi_loader.h>  #include <irq_func.h>  #include <os.h> diff --git a/arch/sandbox/lib/pci_io.c b/arch/sandbox/lib/pci_io.c index 2038141947a..6040eacb594 100644 --- a/arch/sandbox/lib/pci_io.c +++ b/arch/sandbox/lib/pci_io.c @@ -8,7 +8,6 @@   * IO space access commands.   */ -#include <common.h>  #include <command.h>  #include <dm.h>  #include <log.h> | 
