Commit 21a9f435f340b0936aa0bfc29fdd3efa1d329ea2

Authored by Lukasz Majewski
Committed by Marek Vasut
1 parent a6fbf94550

Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGA

All Socfpga boards from ./include/configs/socfpga_* define
CONFIG_HW_WATCHDOG.
To ease CONFIG_HW_WATCHDOG conversion to Kconfig select it in
config ARCH_SOCFPGA (arch/arm/Kconfig) section.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>

Showing 13 changed files with 1 additions and 24 deletions Side-by-side Diff

... ... @@ -701,6 +701,7 @@
701 701 select DM_SPI_FLASH
702 702 select DM_SPI
703 703 select ENABLE_ARM_SOC_BOOT0_HOOK
  704 + select HW_WATCHDOG
704 705 select ARCH_EARLY_INIT_R
705 706 select ARCH_MISC_INIT
706 707 select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
include/configs/socfpga_arria10_socdk.h
... ... @@ -9,8 +9,6 @@
9 9  
10 10 #include <asm/arch/base_addr_a10.h>
11 11  
12   -#define CONFIG_HW_WATCHDOG
13   -
14 12 /* Booting Linux */
15 13 #define CONFIG_LOADADDR 0x01000000
16 14 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
include/configs/socfpga_arria5_socdk.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
15 13  
include/configs/socfpga_cyclone5_socdk.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
15 13  
include/configs/socfpga_de0_nano_soc.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB */
15 13  
include/configs/socfpga_de10_nano.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB */
15 13  
include/configs/socfpga_de1_soc.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB */
15 13  
include/configs/socfpga_is1.h
... ... @@ -9,8 +9,6 @@
9 9  
10 10 #include <asm/arch/base_addr_ac5.h>
11 11  
12   -#define CONFIG_HW_WATCHDOG
13   -
14 12 /* Memory configurations */
15 13 #define PHYS_SDRAM_1_SIZE 0x10000000
16 14  
include/configs/socfpga_mcvevk.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on MCV */
15 13  
include/configs/socfpga_sockit.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
15 13  
include/configs/socfpga_socrates.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCrates */
15 13  
include/configs/socfpga_sr1500.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SR1500 */
15 13  
include/configs/socfpga_vining_fpga.h
... ... @@ -8,8 +8,6 @@
8 8  
9 9 #include <asm/arch/base_addr_ac5.h>
10 10  
11   -#define CONFIG_HW_WATCHDOG
12   -
13 11 /* Memory configurations */
14 12 #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on VINING_FPGA */
15 13