* [PATCH 0/2] riscv: Enable some configs in the Kconfig
@ 2021-09-30 12:05 tekkamanv
2021-09-30 12:05 ` [PATCH 1/2] riscv: Enable SYS_MALLOC_LEN config tekkamanv
2021-09-30 12:05 ` [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config tekkamanv
0 siblings, 2 replies; 5+ messages in thread
From: tekkamanv @ 2021-09-30 12:05 UTC (permalink / raw)
To: u-boot, bmeng.cn, sjg, marek.behun, amittomer25, mbrugger,
mr.nuke.me, jaeckel-floss, klaus, xypron.glpk
Cc: tekkamanv, tekkamanv, tekkamanninja
From: Tekkaman Ninja <tekkamanninja@163.com>
This patchset is trying to enable some configs in the Kconfig for RISC-V:
SYS_MALLOC_LEN
SYS_CLK_FREQ
They are very common config for some developement board. By these patch,
we can reduce the #define in the include/configs/*.h, and config them in
the menuconfig.
TekkamanV (2):
riscv: Enable SYS_MALLOC_LEN config
riscv: Enable SYS_CLK_FREQ config
Kconfig | 2 +-
common/Kconfig.boot | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.25.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] riscv: Enable SYS_MALLOC_LEN config
2021-09-30 12:05 [PATCH 0/2] riscv: Enable some configs in the Kconfig tekkamanv
@ 2021-09-30 12:05 ` tekkamanv
2021-10-02 14:15 ` Bin Meng
2021-09-30 12:05 ` [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config tekkamanv
1 sibling, 1 reply; 5+ messages in thread
From: tekkamanv @ 2021-09-30 12:05 UTC (permalink / raw)
To: u-boot, bmeng.cn, sjg, marek.behun, amittomer25, mbrugger,
mr.nuke.me, jaeckel-floss, klaus, xypron.glpk
Cc: tekkamanv, tekkamanv, tekkamanninja
From: TekkamanV <tekkamanv@starfivetech.com>
Signed-off-by: TekkamanV <tekkamanv@starfivetech.com>
---
Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig
index a6c42b902f..7f63929c60 100644
--- a/Kconfig
+++ b/Kconfig
@@ -249,7 +249,7 @@ config SYS_MALLOC_F_LEN
config SYS_MALLOC_LEN
hex "Define memory for Dynamic allocation"
- depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP
+ depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP || RISCV
default 0x2000000 if ARCH_ROCKCHIP
help
This defines memory to be allocated for Dynamic allocation
--
2.25.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] riscv: Enable SYS_MALLOC_LEN config
2021-09-30 12:05 ` [PATCH 1/2] riscv: Enable SYS_MALLOC_LEN config tekkamanv
@ 2021-10-02 14:15 ` Bin Meng
0 siblings, 0 replies; 5+ messages in thread
From: Bin Meng @ 2021-10-02 14:15 UTC (permalink / raw)
To: tekkamanv
Cc: U-Boot Mailing List, Simon Glass, Marek Behún,
Amit Singh Tomar, Matthias Brugger, Alexandru Gagniuc,
jaeckel-floss, klaus, Heinrich Schuchardt, tekkamanv,
tekkamanninja
On Thu, Sep 30, 2021 at 8:07 PM <tekkamanv@163.com> wrote:
>
> From: TekkamanV <tekkamanv@starfivetech.com>
>
Please add a commit message.
> Signed-off-by: TekkamanV <tekkamanv@starfivetech.com>
> ---
> Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Kconfig b/Kconfig
> index a6c42b902f..7f63929c60 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -249,7 +249,7 @@ config SYS_MALLOC_F_LEN
>
> config SYS_MALLOC_LEN
> hex "Define memory for Dynamic allocation"
> - depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP
> + depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP || RISCV
You need to also migrate existing RISC-V boards to Kconfig, by
removing CONFIG_SYS_MALLOC_LEN from their config.h files.
> default 0x2000000 if ARCH_ROCKCHIP
> help
> This defines memory to be allocated for Dynamic allocation
Regards,
Bin
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config
2021-09-30 12:05 [PATCH 0/2] riscv: Enable some configs in the Kconfig tekkamanv
2021-09-30 12:05 ` [PATCH 1/2] riscv: Enable SYS_MALLOC_LEN config tekkamanv
@ 2021-09-30 12:05 ` tekkamanv
2021-10-02 14:16 ` Bin Meng
1 sibling, 1 reply; 5+ messages in thread
From: tekkamanv @ 2021-09-30 12:05 UTC (permalink / raw)
To: u-boot, bmeng.cn, sjg, marek.behun, amittomer25, mbrugger,
mr.nuke.me, jaeckel-floss, klaus, xypron.glpk
Cc: tekkamanv, tekkamanv, tekkamanninja
From: TekkamanV <tekkamanv@starfivetech.com>
Signed-off-by: TekkamanV <tekkamanv@starfivetech.com>
---
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config
2021-09-30 12:05 ` [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config tekkamanv
@ 2021-10-02 14:16 ` Bin Meng
0 siblings, 0 replies; 5+ messages in thread
From: Bin Meng @ 2021-10-02 14:16 UTC (permalink / raw)
To: tekkamanv
Cc: U-Boot Mailing List, Simon Glass, Marek Behún,
Amit Singh Tomar, Matthias Brugger, Alexandru Gagniuc,
jaeckel-floss, klaus, Heinrich Schuchardt, tekkamanv,
tekkamanninja
On Thu, Sep 30, 2021 at 8:07 PM <tekkamanv@163.com> wrote:
>
> From: TekkamanV <tekkamanv@starfivetech.com>
>
> Signed-off-by: TekkamanV <tekkamanv@starfivetech.com>
> ---
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-02 14:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 12:05 [PATCH 0/2] riscv: Enable some configs in the Kconfig tekkamanv
2021-09-30 12:05 ` [PATCH 1/2] riscv: Enable SYS_MALLOC_LEN config tekkamanv
2021-10-02 14:15 ` Bin Meng
2021-09-30 12:05 ` [PATCH 2/2] riscv: Enable SYS_CLK_FREQ config tekkamanv
2021-10-02 14:16 ` Bin Meng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).