summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-01 17:25:41 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-09 13:07:38 +0000
commit76c43866990bf61c35b1fb6f6915614eebc8d4a4 (patch)
tree112cb5a5b27b110c7c7de827ff8fdaf8df2d82a8 /src/soc
parentc6b152a976e02b1693a2f8239b11675e80acf541 (diff)
downloadcoreboot-76c43866990bf61c35b1fb6f6915614eebc8d4a4.tar.xz
arch/non-x86: Flip HAVE_MONOTONIC_TIMER default
Also remove allwinner/a10 dummy monotonic_timer implementation. Change-Id: I9dfa9b92dc63375465e3bb87b73eeefad601c810 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34112 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/cavium/cn81xx/Kconfig2
-rw-r--r--src/soc/imgtec/pistachio/Kconfig2
-rw-r--r--src/soc/mediatek/mt8173/Kconfig2
-rw-r--r--src/soc/mediatek/mt8183/Kconfig2
-rw-r--r--src/soc/nvidia/tegra124/Kconfig2
-rw-r--r--src/soc/nvidia/tegra210/Kconfig2
-rw-r--r--src/soc/qualcomm/ipq40xx/Kconfig4
-rw-r--r--src/soc/qualcomm/ipq806x/Kconfig1
-rw-r--r--src/soc/qualcomm/qcs405/Kconfig2
-rw-r--r--src/soc/qualcomm/sdm845/Kconfig2
-rw-r--r--src/soc/rockchip/rk3288/Kconfig2
-rw-r--r--src/soc/rockchip/rk3399/Kconfig2
-rw-r--r--src/soc/samsung/exynos5250/Kconfig2
-rw-r--r--src/soc/samsung/exynos5420/Kconfig2
-rw-r--r--src/soc/sifive/fu540/Kconfig2
-rw-r--r--src/soc/ucb/riscv/Kconfig2
16 files changed, 4 insertions, 29 deletions
diff --git a/src/soc/cavium/cn81xx/Kconfig b/src/soc/cavium/cn81xx/Kconfig
index 9119bcc152..f64350eb9e 100644
--- a/src/soc/cavium/cn81xx/Kconfig
+++ b/src/soc/cavium/cn81xx/Kconfig
@@ -6,8 +6,6 @@ config SOC_CAVIUM_CN81XX
select ARCH_ROMSTAGE_ARMV8_64
select ARCH_VERSTAGE_ARMV8_64
select DRIVERS_UART_PL011
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select UART_OVERRIDE_REFCLK
select SOC_CAVIUM_COMMON
select CAVIUM_BDK_DDR_TUNE_HW_OFFSETS
diff --git a/src/soc/imgtec/pistachio/Kconfig b/src/soc/imgtec/pistachio/Kconfig
index 40b63c3d5a..30d7bee2c0 100644
--- a/src/soc/imgtec/pistachio/Kconfig
+++ b/src/soc/imgtec/pistachio/Kconfig
@@ -20,8 +20,6 @@ config CPU_IMGTEC_PISTACHIO
select ARCH_VERSTAGE_MIPS
select ARCH_ROMSTAGE_MIPS
select ARCH_RAMSTAGE_MIPS
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select HAVE_UART_SPECIAL
select GENERIC_GPIO_LIB
select UART_OVERRIDE_REFCLK
diff --git a/src/soc/mediatek/mt8173/Kconfig b/src/soc/mediatek/mt8173/Kconfig
index e966b8e58b..6476d42b0a 100644
--- a/src/soc/mediatek/mt8173/Kconfig
+++ b/src/soc/mediatek/mt8173/Kconfig
@@ -8,8 +8,6 @@ config SOC_MEDIATEK_MT8173
select ARCH_VERSTAGE_ARMV8_64
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select HAVE_UART_SPECIAL
- select HAVE_MONOTONIC_TIMER
- select GENERIC_UDELAY
select GENERIC_GPIO_LIB
select RTC
diff --git a/src/soc/mediatek/mt8183/Kconfig b/src/soc/mediatek/mt8183/Kconfig
index f96282cf62..c60cdea38d 100644
--- a/src/soc/mediatek/mt8183/Kconfig
+++ b/src/soc/mediatek/mt8183/Kconfig
@@ -6,9 +6,7 @@ config SOC_MEDIATEK_MT8183
select ARCH_ROMSTAGE_ARMV8_64
select ARCH_VERSTAGE_ARMV8_64
select ARM64_USE_ARM_TRUSTED_FIRMWARE
- select GENERIC_UDELAY
select HAVE_UART_SPECIAL
- select HAVE_MONOTONIC_TIMER
select COMPRESS_BOOTBLOCK
if SOC_MEDIATEK_MT8183
diff --git a/src/soc/nvidia/tegra124/Kconfig b/src/soc/nvidia/tegra124/Kconfig
index 475d50e210..c962aead71 100644
--- a/src/soc/nvidia/tegra124/Kconfig
+++ b/src/soc/nvidia/tegra124/Kconfig
@@ -7,8 +7,6 @@ config SOC_NVIDIA_TEGRA124
select ARCH_ROMSTAGE_ARMV7
select ARCH_RAMSTAGE_ARMV7
select HAVE_UART_SPECIAL
- select HAVE_MONOTONIC_TIMER
- select GENERIC_UDELAY
select ARM_LPAE
select GENERIC_GPIO_LIB
select MAINBOARD_HAS_NATIVE_VGA_INIT
diff --git a/src/soc/nvidia/tegra210/Kconfig b/src/soc/nvidia/tegra210/Kconfig
index 6750aa9f9a..0e1efd7050 100644
--- a/src/soc/nvidia/tegra210/Kconfig
+++ b/src/soc/nvidia/tegra210/Kconfig
@@ -7,8 +7,6 @@ config SOC_NVIDIA_TEGRA210
select ARCH_ROMSTAGE_ARMV4
select ARCH_RAMSTAGE_ARMV8_64
select GIC
- select HAVE_MONOTONIC_TIMER
- select GENERIC_UDELAY
select HAVE_UART_SPECIAL
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select GENERIC_GPIO_LIB
diff --git a/src/soc/qualcomm/ipq40xx/Kconfig b/src/soc/qualcomm/ipq40xx/Kconfig
index 90744d5285..ef80772b2f 100644
--- a/src/soc/qualcomm/ipq40xx/Kconfig
+++ b/src/soc/qualcomm/ipq40xx/Kconfig
@@ -7,10 +7,12 @@ config SOC_QC_IPQ40XX
select ARCH_RAMSTAGE_ARMV7
select HAVE_UART_SPECIAL
select GENERIC_GPIO_LIB
- select HAVE_MONOTONIC_TIMER
if SOC_QC_IPQ40XX
+config GENERIC_UDELAY
+ def_bool n
+
config VBOOT
select VBOOT_STARTS_IN_BOOTBLOCK
select VBOOT_SEPARATE_VERSTAGE
diff --git a/src/soc/qualcomm/ipq806x/Kconfig b/src/soc/qualcomm/ipq806x/Kconfig
index 0b112d952d..fa0fefef67 100644
--- a/src/soc/qualcomm/ipq806x/Kconfig
+++ b/src/soc/qualcomm/ipq806x/Kconfig
@@ -7,6 +7,7 @@ config SOC_QC_IPQ806X
select ARCH_RAMSTAGE_ARMV7
select HAVE_UART_SPECIAL
select GENERIC_GPIO_LIB
+ select NO_MONOTONIC_TIMER
if SOC_QC_IPQ806X
diff --git a/src/soc/qualcomm/qcs405/Kconfig b/src/soc/qualcomm/qcs405/Kconfig
index aa867c2f25..48e2fd4e4d 100644
--- a/src/soc/qualcomm/qcs405/Kconfig
+++ b/src/soc/qualcomm/qcs405/Kconfig
@@ -8,8 +8,6 @@ config SOC_QUALCOMM_QCS405
select ARCH_VERSTAGE_ARMV8_64
select BOOTBLOCK_CONSOLE
select GENERIC_GPIO_LIB
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select ARM64_USE_ARCH_TIMER
select HAVE_UART_SPECIAL
diff --git a/src/soc/qualcomm/sdm845/Kconfig b/src/soc/qualcomm/sdm845/Kconfig
index 459a4411b2..dbe025e93a 100644
--- a/src/soc/qualcomm/sdm845/Kconfig
+++ b/src/soc/qualcomm/sdm845/Kconfig
@@ -7,8 +7,6 @@ config SOC_QUALCOMM_SDM845
select ARCH_ROMSTAGE_ARMV8_64
select ARCH_VERSTAGE_ARMV8_64
select GENERIC_GPIO_LIB
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select ARM64_USE_ARCH_TIMER
select SOC_QUALCOMM_COMMON
diff --git a/src/soc/rockchip/rk3288/Kconfig b/src/soc/rockchip/rk3288/Kconfig
index f845f07514..3aebab9754 100644
--- a/src/soc/rockchip/rk3288/Kconfig
+++ b/src/soc/rockchip/rk3288/Kconfig
@@ -21,8 +21,6 @@ config SOC_ROCKCHIP_RK3288
select ARCH_ROMSTAGE_ARMV7
select ARCH_RAMSTAGE_ARMV7
select DRIVERS_UART_8250MEM_32
- select HAVE_MONOTONIC_TIMER
- select GENERIC_UDELAY
select UNCOMPRESSED_RAMSTAGE
select GENERIC_GPIO_LIB
select RTC
diff --git a/src/soc/rockchip/rk3399/Kconfig b/src/soc/rockchip/rk3399/Kconfig
index 83fc437073..7e3c44b674 100644
--- a/src/soc/rockchip/rk3399/Kconfig
+++ b/src/soc/rockchip/rk3399/Kconfig
@@ -8,8 +8,6 @@ config SOC_ROCKCHIP_RK3399
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select DRIVERS_UART_8250MEM_32
select GENERIC_GPIO_LIB
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select UART_OVERRIDE_REFCLK
select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
select COMPRESS_BOOTBLOCK
diff --git a/src/soc/samsung/exynos5250/Kconfig b/src/soc/samsung/exynos5250/Kconfig
index 5b3972427f..680bd66cb7 100644
--- a/src/soc/samsung/exynos5250/Kconfig
+++ b/src/soc/samsung/exynos5250/Kconfig
@@ -3,8 +3,6 @@ config CPU_SAMSUNG_EXYNOS5250
select ARCH_VERSTAGE_ARMV7
select ARCH_ROMSTAGE_ARMV7
select ARCH_RAMSTAGE_ARMV7
- select HAVE_MONOTONIC_TIMER
- select GENERIC_UDELAY
select HAVE_UART_SPECIAL
bool
default n
diff --git a/src/soc/samsung/exynos5420/Kconfig b/src/soc/samsung/exynos5420/Kconfig
index 7b87650fa9..3af8e64ac3 100644
--- a/src/soc/samsung/exynos5420/Kconfig
+++ b/src/soc/samsung/exynos5420/Kconfig
@@ -3,8 +3,6 @@ config CPU_SAMSUNG_EXYNOS5420
select ARCH_VERSTAGE_ARMV7
select ARCH_ROMSTAGE_ARMV7
select ARCH_RAMSTAGE_ARMV7
- select HAVE_MONOTONIC_TIMER
- select GENERIC_UDELAY
select HAVE_UART_SPECIAL
select RELOCATABLE_MODULES
select NO_BOOTBLOCK_CONSOLE
diff --git a/src/soc/sifive/fu540/Kconfig b/src/soc/sifive/fu540/Kconfig
index 6ebde33da0..82b42e5559 100644
--- a/src/soc/sifive/fu540/Kconfig
+++ b/src/soc/sifive/fu540/Kconfig
@@ -22,8 +22,6 @@ config SOC_SIFIVE_FU540
select ARCH_ROMSTAGE_RISCV
select ARCH_RAMSTAGE_RISCV
select DRIVERS_UART_SIFIVE
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select RISCV_USE_ARCH_TIMER
select UART_OVERRIDE_REFCLK
diff --git a/src/soc/ucb/riscv/Kconfig b/src/soc/ucb/riscv/Kconfig
index ad48c1cb76..324a0fb840 100644
--- a/src/soc/ucb/riscv/Kconfig
+++ b/src/soc/ucb/riscv/Kconfig
@@ -6,8 +6,6 @@ config SOC_UCB_RISCV
select ARCH_VERSTAGE_RISCV
select ARCH_ROMSTAGE_RISCV
select ARCH_RAMSTAGE_RISCV
- select GENERIC_UDELAY
- select HAVE_MONOTONIC_TIMER
select RISCV_USE_ARCH_TIMER
bool
default n