From: Rick Chen <rick@andestech.com>
Date: Thu, 23 Nov 2017 04:48:46 +0000 (+0800)
Subject: atcpit100: timer: Remove arch dependency.
X-Git-Tag: v2025.01-rc5-pxa1908~5343^2~9
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=0f4a395f782a2801842492d5b365ed095a1e69ef;p=u-boot.git

atcpit100: timer: Remove arch dependency.

ATCPIT100 is often used in AE3XX platform which is
based on NDS32 architecture recently. But in the future
Andestech will have AE250 platform which is embeded
ATCPIT100 timer based on RISCV architecture.

Signed-off-by: Rick Chen <rick@andestech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index fcfdf4e839..3a1f8311c1 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -107,7 +107,7 @@ config AG101P_TIMER
 
 config ATCPIT100_TIMER
 	bool "ATCPIT100 timer support"
-	depends on TIMER && NDS32
+	depends on TIMER
 	help
 	  Select this to enable a ATCPIT100 timer which will be embeded
 		in AE3XX, AE250 boards.