Re: [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config

2021-10-02 Thread Bin Meng
On Thu, Sep 30, 2021 at 8:07 PM  wrote:
>
> From: TekkamanV 
>
> Signed-off-by: TekkamanV 
> ---
>  common/Kconfig.boot | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/Kconfig.boot b/common/Kconfig.boot
> index 902a5b8fbe..4f29cc2d56 100644
> --- a/common/Kconfig.boot
> +++ b/common/Kconfig.boot
> @@ -343,7 +343,7 @@ config SYS_TEXT_BASE
>   The address in memory that U-Boot will be running from, initially.
>
>  config SYS_CLK_FREQ
> -   depends on ARC || ARCH_SUNXI || MPC83xx
> +   depends on ARC || ARCH_SUNXI || MPC83xx || RISCV
> int "CPU clock frequency"
> help
>   TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
> --

Why do we need this change? It seems nothing related to RISC-V.

Regards,
Bin


[PATCH 2/2] riscv: Enable SYS_CLK_FREQ config

2021-09-30 Thread tekkamanv
From: TekkamanV 

Signed-off-by: TekkamanV 
---
 common/Kconfig.boot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 902a5b8fbe..4f29cc2d56 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -343,7 +343,7 @@ config SYS_TEXT_BASE
  The address in memory that U-Boot will be running from, initially.
 
 config SYS_CLK_FREQ
-   depends on ARC || ARCH_SUNXI || MPC83xx
+   depends on ARC || ARCH_SUNXI || MPC83xx || RISCV
int "CPU clock frequency"
help
  TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
-- 
2.25.4