Adds a trailing space to SYS_PROMPT to make it easier to distinguish
between commands and the prompt.
Chanho Park (2):
configs: visionfive2: add a trailing space to prompt
doc: visionfive2: apply a trailing space to the prompt
configs/starfive_visionfive2_defconfig | 2 +-
doc/board
Apply the trailing space changes in the guide document.
Signed-off-by: Chanho Park
---
doc/board/starfive/visionfive2.rst | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/board/starfive/visionfive2.rst
b/doc/board/starfive/visionfive2.rst
index
Adds a trailing space to SYS_PROMPT to make it easier to distinguish
between commands and the prompt.
Signed-off-by: Chanho Park
---
configs/starfive_visionfive2_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs
ed-off-by: Heinrich Schuchardt
This works fine on my qemu risv with your opensbi patch and KASLR has been
tested as well.
Feel free to add my reviewed/tested-by tag.
Reviewed-by: Chanho Park
Tested-by: Chanho Park
Best Regards,
Chanho Park
> ---
> drivers/rng/Kconfig | 11 +
Add STGCLK_SEC_HCLK and STGCLK_SEC_MISCAHB clocks for JH7110 TRNG
device.
Signed-off-by: Chanho Park
---
drivers/clk/starfive/clk-jh7110.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clk/starfive/clk-jh7110.c
b/drivers/clk/starfive/clk-jh7110.c
index 31aaf3340f94
Adds jh7110 trng device tree node.
Signed-off-by: Chanho Park
---
arch/riscv/dts/jh7110.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index ec237a46ffba..13c47f7caa36 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b
pport 128-bit and 256-bit random number generation but
this patch makes 256-bit default mode for convenience.
Chanho Park (5):
riscv: import read/write_relaxed functions
clk: starfive: jh7110: Add security clocks
rng: Add StarFive JH7110 RNG driver
riscv: dts: jh7110: Add rng device tree
Enables JH7110 RNG driver to visionfive2 board.
Signed-off-by: Chanho Park
---
configs/starfive_visionfive2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index b21754feafce..b15e7d24db19 100644
This imports mmio functions from Linux's arch/riscv/include/asm/mmio.h
to use read/write[b|w|l|q]_relaxed functions.
Signed-off-by: Chanho Park
---
arch/riscv/include/asm/io.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/arch/riscv/include/asm
Adds to support JH7110 TRNG driver which is based on linux kernel's
jh7110-trng.c. This can support to generate 256-bit random numbers and
128-bit but this makes 256-bit default for convenience.
Signed-off-by: Chanho Park
---
drivers/rng/Kconfig | 6 +
drivers/rng/Makefile
Add gpio.h header file that includes JH7110 helper macros. The file is
imported from StarFive github[1] with small changes such as alignment.
[1]: https://github.com/starfive-tech/u-boot
Signed-off-by: Chanho Park
---
arch/riscv/include/asm/arch-jh7110/gpio.h | 85 +++
1
/ Output
Signed-off-by: Chanho Park
---
board/starfive/visionfive2/spl.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c
index ad5f71a20180..336f0cdfc90f 100644
--- a/board/starfive/visionfive2/spl.c
+++ b
To support JTAG for VisionFive2 board, we need to control JTAG pins by
S/W. spl_board_init_f function seems to be proper place to initialize
these pins.
Chanho Park (2):
riscv: cpu: jh7110: Add gpio helper macros
board: starfive: spl: Support jtag for VisionFive2 board
arch/riscv/include
> -Original Message-
> From: Heinrich Schuchardt
> Sent: Wednesday, November 1, 2023 6:18 AM
> To: Chanho Park
> Cc: Sughosh Ganu ; Rick Chen ;
> Leo ; u-boot@lists.denx.de
> Subject: Re: [PATCH 3/5] rng: Add StarFive JH7110 RNG driver
>
> On 10/30/23 09:32,
pport 128-bit and 256-bit random number generation but
this patch makes 256-bit default mode for convenience.
Changes from v1:
- Patch #3: Apply Heinrich's reviews and his codes
- Patch #5: Add Heinrich's R-b tag
Chanho Park (5):
riscv: import read/write_relaxed functions
clk: starfi
Add STGCLK_SEC_HCLK and STGCLK_SEC_MISCAHB clocks for JH7110 TRNG
device.
Signed-off-by: Chanho Park
---
drivers/clk/starfive/clk-jh7110.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clk/starfive/clk-jh7110.c
b/drivers/clk/starfive/clk-jh7110.c
index 31aaf3340f94
Adds jh7110 trng device tree node.
Signed-off-by: Chanho Park
---
arch/riscv/dts/jh7110.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index ec237a46ffba..13c47f7caa36 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b
Adds to support JH7110 TRNG driver which is based on linux kernel's
jh7110-trng.c. This can support to generate 256-bit random numbers and
128-bit but this makes 256-bit default for convenience.
Signed-off-by: Chanho Park
---
drivers/rng/Kconfig | 6 +
drivers/rng/Makefile
Enables JH7110 RNG driver to visionfive2 board.
Signed-off-by: Chanho Park
Reviewed-by: Heinrich Schuchardt
---
configs/starfive_visionfive2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index
This imports mmio functions from Linux's arch/riscv/include/asm/mmio.h
to use read/write[b|w|l|q]_relaxed functions.
Signed-off-by: Chanho Park
---
arch/riscv/include/asm/io.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/arch/riscv/include/asm
> -Original Message-
> From: Jaehoon Chung
> Sent: Wednesday, November 1, 2023 9:52 AM
> To: 'Chanho Park' ; 'Sughosh Ganu'
> ; 'Heinrich Schuchardt' ;
> 'Rick Chen' ; 'Leo' ; u-
> b...@lists.de
This imports mmio functions from Linux's arch/riscv/include/asm/mmio.h
to use read/write[b|w|l|q]_relaxed functions.
Signed-off-by: Chanho Park
---
arch/riscv/include/asm/io.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/arch/riscv/include/asm
Enables JH7110 RNG driver to visionfive2 board.
Signed-off-by: Chanho Park
Reviewed-by: Heinrich Schuchardt
---
configs/starfive_visionfive2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index
Adds jh7110 trng device tree node.
Signed-off-by: Chanho Park
---
arch/riscv/dts/jh7110.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index ec237a46ffba..13c47f7caa36 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b
Add STGCLK_SEC_HCLK and STGCLK_SEC_MISCAHB clocks for JH7110 TRNG
device.
Signed-off-by: Chanho Park
---
drivers/clk/starfive/clk-jh7110.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clk/starfive/clk-jh7110.c
b/drivers/clk/starfive/clk-jh7110.c
index 31aaf3340f94
rich's R-b tag
Chanho Park (5):
riscv: import read/write_relaxed functions
clk: starfive: jh7110: Add security clocks
rng: Add StarFive JH7110 RNG driver
riscv: dts: jh7110: Add rng device tree node
configs: visionfive2: Enable JH7110 RNG driver
arch/riscv/dts/jh7110.dtsi
Adds to support JH7110 TRNG driver which is based on linux kernel's
jh7110-trng.c. This can support to generate 256-bit random numbers and
128-bit but this makes 256-bit default for convenience.
Signed-off-by: Chanho Park
---
drivers/rng/Kconfig | 6 +
drivers/rng/Makefile
Hi,
> -Original Message-
> From: Heinrich Schuchardt
> Sent: Wednesday, November 1, 2023 9:00 PM
> To: Chanho Park
> Cc: Sughosh Ganu ; u-boot@lists.denx.de; Rick
> Chen ; Leo ; Jaehoon Chung
>
> Subject: Re: [PATCH v3 3/5] rng: Add StarFive JH7110 RNG driv
es of probe() which are suggested by Jaehoon
Changes from v1:
- Patch #3: Apply Heinrich's reviews and his codes
- Patch #5: Add Heinrich's R-b tag
Chanho Park (5):
riscv: import read/write_relaxed functions
clk: starfive: jh7110: Add security clocks
rng: Add StarFive JH7110 RNG
Adds jh7110 trng device tree node.
Signed-off-by: Chanho Park
---
arch/riscv/dts/jh7110.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index ec237a46ffba..13c47f7caa36 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b
Add STGCLK_SEC_HCLK and STGCLK_SEC_MISCAHB clocks for JH7110 TRNG
device.
Signed-off-by: Chanho Park
---
drivers/clk/starfive/clk-jh7110.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clk/starfive/clk-jh7110.c
b/drivers/clk/starfive/clk-jh7110.c
index 31aaf3340f94
Enables JH7110 RNG driver to visionfive2 board.
Signed-off-by: Chanho Park
Reviewed-by: Heinrich Schuchardt
---
configs/starfive_visionfive2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index
Adds to support JH7110 TRNG driver which is based on linux kernel's
jh7110-trng.c. This can support to generate 256-bit random numbers and
128-bit but this makes 256-bit default for convenience.
Signed-off-by: Chanho Park
---
drivers/rng/Kconfig | 6 +
drivers/rng/Makefile
This imports mmio functions from Linux's arch/riscv/include/asm/mmio.h
to use read/write[b|w|l|q]_relaxed functions.
Signed-off-by: Chanho Park
---
arch/riscv/include/asm/io.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/arch/riscv/include/asm
Add JH7110_SYSCLK_WDT_APB and JH7110_SYSCLK_WDT_CORE clocks for JH7110
watchdog device.
Signed-off-by: Chanho Park
---
drivers/clk/starfive/clk-jh7110.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/clk/starfive/clk-jh7110.c
b/drivers/clk/starfive/clk-jh7110.c
index
Enables StarFive Watchdog driver and WDT command.
Signed-off-by: Chanho Park
---
configs/starfive_visionfive2_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index b15e7d24db19..7b39a63359dc
ave a consistency with the linux driver.
Signed-off-by: Chanho Park
---
drivers/watchdog/Kconfig| 7 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/starfive_wdt.c | 329
3 files changed, 337 insertions(+)
create mode 100644 drivers/wat
Adds jh7110 watchdog device tree node.
Signed-off-by: Chanho Park
---
arch/riscv/dts/jh7110.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index 13c47f7caa36..6d2675d6ceac 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b
this patch tries to keep the variant coding style for future
work of JH7100 and have a consistency with the Linux driver.
Chanho Park (4):
clk: starfive: jh7110: Add watchdog clocks
watchdog: Add StarFive Watchdog driver
riscv: dts: jh7110: Add watchdog device tree node
configs: visionfiv
timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
Signed-off-by: Chanho Park
---
drivers/timer/riscv_timer.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/timer/riscv_timer.c b/drivers/timer/riscv_timer.c
index
age_report();
| ^~~~
| bootstage_error
Signed-off-by: Chanho Park
---
arch/riscv/lib/bootm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 276677a5e2f9..cc30efc90498 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch
This adds to support bootstage for risc-v. timer_get_boot_us function
is required to record each boot stages with microsecond timestamp.
Chanho Park (3):
riscv: bootstage: correct bootstage_report guard
riscv: timer: add timer_get_boot_us for BOOTSTAGE
timer: riscv_aclint_timer: add
timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
Signed-off-by: Chanho Park
---
drivers/timer/riscv_aclint_timer.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/timer/riscv_aclint_timer.c
b/drivers/timer
Hi,
> -Original Message-
> From: Michal Simek
> Sent: Friday, August 25, 2023 4:23 PM
> To: Chanho Park ; u-boot@lists.denx.de
> Subject: Re: [PATCH] fpga: define dummy fpga_load function for debug build
>
> Hi,
>
> On 8/16/23 08:54, Chanho Park wrote:
>
For IH_OS_OPENSBI and IH_OS_LINUX, there is no chance to stash
bootstare record because it will not return after jumping to the image.
Hence, this patch moves the location of bootstage_stash before jumping
to image.
Signed-off-by: Chanho Park
---
common/spl/spl.c | 15 ---
1 file
age_report();
| ^~~~
| bootstage_error
Signed-off-by: Chanho Park
---
arch/riscv/lib/bootm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 276677a5e2f9..cc30efc90498 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch
This adds to support bootstage for risc-v. timer_get_boot_us function
is required to record each boot stages with microsecond timestamp.
Changes from v1:
- Correct #ifdef guard for riscv_aclint_timer and riscv_timer
Chanho Park (3):
riscv: bootstage: correct bootstage_report guard
riscv
timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
Signed-off-by: Chanho Park
---
drivers/timer/riscv_timer.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/timer/riscv_timer.c b/drivers/timer/riscv_timer.c
index
timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
Signed-off-by: Chanho Park
---
drivers/timer/riscv_aclint_timer.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/timer/riscv_aclint_timer.c
b/drivers/timer
Hi,
> -Original Message-
> From: Eugen Hristev
> Sent: Monday, August 28, 2023 5:47 PM
> To: Chanho Park ; 'Michal Simek'
> ; u-boot@lists.denx.de
> Cc: Simon Glass
> Subject: Re: [PATCH] fpga: define dummy fpga_load function for debug build
>
>
Hi Eugen,
> -Original Message-
> From: Eugen Hristev
> Sent: Monday, August 28, 2023 8:47 PM
> To: Michal Simek ; u-boot@lists.denx.de;
> s...@chromium.org; Chanho Park
> Subject: Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load
>
> On 8/28/23 13:53, Mi
spl_invoke_opensbi function is not returned to SPL. Thus, we need to
set __noreturn function attribute.
Signed-off-by: Chanho Park
---
common/spl/spl_opensbi.c | 7 ---
include/spl.h| 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/common/spl/spl_opensbi.c b
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Tuesday, August 29, 2023 2:55 AM
> To: Chanho Park
> Cc: Nikhil M Jain ; Marek Vasut ; u-
> b...@lists.denx.de
> Subject: Re: [PATCH] spl: bootstage: move bootstage_stash before jumping
> to image
>
&
.
Signed-off-by: Chanho Park
---
Changes from v1
- Separate the final stage bootstage code into spl_bootstage_finish.
- As Simon suggests, call the function before jumping to the image.
common/spl/spl.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Wednesday, August 30, 2023 1:38 AM
> To: Chanho Park
> Cc: Nikhil M Jain ; Marek Vasut ; u-
> b...@lists.denx.de
> Subject: Re: [PATCH v2] spl: bootstage: move bootstage_stash before
> jumping to image
> On 8/16/23 08:54, Chanho Park wrote:
> > This fixes below build error when CC_OPTIMIZE_FOR_DEBUG is enabled and
> > CONFIG_SPL_FPGA is not enabled.
>
> I would rewrite this because the connection to SPL_FPGA is just one part
> of it.
> It is also taken when CONFIG
/spl_fit.c:591: undefined reference to `fpga_load'
collect2: error: ld returned 1 exit status
Signed-off-by: Chanho Park
---
Change from v1:
- Rewrite the commit message to include a CONFIG_FPGA
include/fpga.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/fpga.h b/in
Hi,
> -Original Message-
> From: Leo Liang
> Sent: Monday, September 4, 2023 4:01 PM
> To: Chanho Park
> Cc: Rick Chen ; Simon Glass ; u-
> b...@lists.denx.de
> Subject: Re: [PATCH v2 2/3] riscv: timer: add timer_get_boot_us for
> BOOTSTAGE
>
> Hi Chanho
Hi,
> -Original Message-
> From: Leo Liang
> Sent: Monday, September 4, 2023 4:02 PM
> To: Chanho Park
> Cc: Rick Chen ; Simon Glass ; u-
> b...@lists.denx.de
> Subject: Re: [PATCH v2 3/3] timer: riscv_aclint_timer: add
> timer_get_boot_us for BOOTSTAGE
>
&g
c:30: undefined
reference to `sbi_dbcn_write_byte'
riscv64-unknown-linux-gnu-ld.bfd: drivers/serial/serial_sbi.o: in function
`_debug_uart_init':
/data/risc-v/vf2/mainline/u-boot/drivers/serial/serial_sbi.c:24: undefined
reference to `sbi_probe_extension'
make[2]: *** [/data/risc-v/vf2/mainline/u-boot/scripts/Makefile.spl:527:
spl/u-boot-spl] Error 1
Best Regards,
Chanho Park
Hi,
> -Original Message-
> From: Heinrich Schuchardt
> Sent: Monday, September 4, 2023 8:24 PM
> To: Rick Chen ; Leo
> Cc: Bin Meng ; Anup Patel ;
> Chanho Park ; u-boot@lists.denx.de; Heinrich
> Schuchardt
> Subject: [PATCH v2 0/2] risc-v: implement
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Tuesday, September 5, 2023 1:49 AM
> To: Chanho Park
> Cc: Rick Chen ; Leo ; u-
> b...@lists.denx.de
> Subject: Re: [PATCH v2 3/3] timer: riscv_aclint_timer: add
> timer_get_boot_us for BOOTSTAGE
>
&
This adds to support bootstage for risc-v. timer_get_boot_us function
is required to record each boot stages with microsecond timestamp.
Changes from v2:
- Add a Leo's RB tag of 1/3 patch
- Add a description of the calculation formula
- Correct the divisor value typo of 3/3 patch
Chanho Pa
age_report();
| ^~~~
| bootstage_error
Signed-off-by: Chanho Park
Reviewed-by: Leo Yu-Chi Liang
---
arch/riscv/lib/bootm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 276677a5e2f9..cc30efc90498 100644
--- a/arch
/ 1000)
Signed-off-by: Chanho Park
---
drivers/timer/riscv_timer.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/timer/riscv_timer.c b/drivers/timer/riscv_timer.c
index 28a6a6870b81..169c03dcb5c1 100644
--- a/drivers/timer/riscv_timer.c
+++ b/drivers/timer
/ 1000)
Signed-off-by: Chanho Park
---
drivers/timer/riscv_aclint_timer.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/timer/riscv_aclint_timer.c
b/drivers/timer/riscv_aclint_timer.c
index e29d527c8d77..73fb87912851 100644
--- a/drivers/timer
Hi,
> -Original Message-
> From: Heinrich Schuchardt
> Sent: Wednesday, September 6, 2023 7:08 PM
> To: Rick Chen ; Leo ; Yanhong
> Wang
> Cc: Simon Glass ; Marc Kleine-Budde
;
> Chanho Park ; u-boot@lists.denx.de; Heinrich
> Schuchardt
> Subject: [PAT
> -Original Message-
> From: Heinrich Schuchardt
> Sent: Wednesday, September 6, 2023 7:08 PM
> To: Rick Chen ; Leo ; Yanhong
> Wang
> Cc: Simon Glass ; Marc Kleine-Budde
;
> Chanho Park ; u-boot@lists.denx.de; Heinrich
> Schuchardt
> Subject: [PATCH 2/2] ris
Hi,
> -Original Message-
> From: Heinrich Schuchardt
> Sent: Thursday, September 7, 2023 2:27 AM
> To: Chanho Park ; Simon Glass
>
> Cc: u-boot@lists.denx.de; Rick Chen ; Leo
>
> Subject: Re: [PATCH v3 3/3] timer: riscv_aclint_timer: add
> timer_get_bo
spl_invoke_atf function will not be returned to SPL. Thus, we need to
set __noreturn function attribute to the function.
Signed-off-by: Chanho Park
---
common/spl/spl_atf.c | 8
include/spl.h| 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/common/spl
Accumulated time:
10,093 dm_f
15,867 dm_r
Signed-off-by: Chanho Park
---
configs/starfive_visionfive2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index 6590727fe750
t the arch_cpu_init_dm() even only before
relocation")
Cc: Simon Glass
Cc: Bin Meng
Signed-off-by: Chanho Park
---
drivers/core/root.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 6775fb0b6575..e939da484b2a 100644
--- a/dr
This fixes below build error when CC_OPTIMIZE_FOR_DEBUG is enabled and
CONFIG_SPL_FPGA is not enabled.
../common/spl/spl_fit.c:591: undefined reference to `fpga_load'
collect2: error: ld returned 1 exit status
Signed-off-by: Chanho Park
---
include/fpga.h | 8
1 file chang
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Wednesday, August 9, 2023 2:54 AM
> To: Chanho Park
> Cc: u-boot@lists.denx.de; Bin Meng
> Subject: Re: [PATCH] dm: core: allow DM_POST_INIT_F notification for
> TIMER_EARLY
>
> Hi Chanho,
>
This patch introduces EVT_DM_POST_INIT_R event type for handling hooks
after relocation.
Fixes: 55171aedda88 ("dm: Emit the arch_cpu_init_dm() even only before
relocation")
Suggested-by: Simon Glass
Cc: Bin Meng
Signed-off-by: Chanho Park
---
drivers/core/root.c | 6 --
inclu
sbvj0+...@mail.gmail.com/
Chanho Park (2):
dm: event: add EVT_DM_POST_INIT_R event type
riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback
arch/riscv/cpu/cpu.c | 11 +++
drivers/core/root.c | 6 --
include/event.h | 1 +
3 files changed, 8 insertions(+), 10 dele
)
Thus, we need to move riscv_cpu_probe function in order to register
the timer earlier than initr_dm_devices.
Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events")
Cc: Simon Glass
Cc: Bin Meng
Signed-off-by: Chanho Park
---
arch/riscv/cpu/cpu.c | 11 +++
1 fi
> -Original Message-
> From: Simon Glass
> Sent: Friday, December 15, 2023 1:50 AM
> To: U-Boot Mailing List
> Cc: Tom Rini ; Simon Glass ; Chanho
> Park ; Heinrich Schuchardt
;
> Leo ; Nikita Shubin ; Rick Chen
>
> Subject: [PATCH v2 05/21] riscv: Add a re
0.c
> new file mode 100644
> index ..2445dd752ea8
> --- /dev/null
> +++ b/drivers/pinctrl/exynos/pinctrl-exynos850.c
> @@ -0,0 +1,125 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Copyright (c) 2023 Linaro Ltd.
> + * Author: Sam Protsenko
> + *
> + * Samsung Exynos USI driver (Universal Serial Interface).
Typo. It should be a subject for the pinctrl driver.
Otherwise,
Reviewed-by: Chanho Park
PERI. The UART baud clock is required in the serial driver, to
> get its rate for the consequent baud rate calculation.
>
> Signed-off-by: Sam Protsenko
Reviewed-by: Chanho Park
lk_dm(pll_clk->id, clk);
> + }
> +}
> +
> +U_BOOT_DRIVER(samsung_pll0822x_clk) = {
> + .name = UBOOT_DM_CLK_SAMSUNG_PLL0822X,
> + .id = UCLASS_CLK,
> + .ops= &samsung_pll0822x_clk_min_ops,
> + .flags = DM_FLAG_PRE_RELOC,
> +};
> +
> +U_BOOT_DRIVER(samsung_pll0831x_clk) = {
> + .name = UBOOT_DM_CLK_SAMSUNG_PLL0831X,
> + .id = UCLASS_CLK,
> + .ops= &samsung_pll0831x_clk_min_ops,
> + .flags = DM_FLAG_PRE_RELOC,
> +};
> diff --git a/drivers/clk/exynos/clk-pll.h b/drivers/clk/exynos/clk-pll.h
> new file mode 100644
> index ..3b477369aeb8
> --- /dev/null
> +++ b/drivers/clk/exynos/clk-pll.h
> @@ -0,0 +1,23 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +/*
> + * Copyright (C) 2016 Samsung Electronics
> + * Copyright (C) 2023 Linaro Ltd.
> + *
> + * Authors:
> + * Thomas Abraham
Ditto.
Othewise,
Reviewed-by: Chanho Park
nction, as the probe function must be always called
> for this driver.
>
> Signed-off-by: Sam Protsenko
Reviewed-by: Chanho Park
d although no
> misc operations are implemented, it makes it easier to probe the driver
> this way (as compared to UCLASS_NOP) and keep the code compact.
>
> [1] drivers/soc/samsung/exynos-usi.c
>
> Signed-off-by: Sam Protsenko
Reviewed-by: Chanho Park
3] clk: exynos: Move pll code into clk-exynos7420
>
> PLL utilities code is only used by clk-exynos7420 driver at the moment.
> Move it into clk-exynos7420 to make clk-pll.c file available for CCF PLL
> clocks implementation, which is coming in the next patches.
>
> Signed-off-by: Sam Protsenko
Reviewed-by: Chanho Park
000
WDT: Started watchdog@1307 without servicing (60s timeout)
After -->
StarFive # wdt start 3000
WDT: Started watchdog@1307 without servicing (3s timeout)
Fixes: c2fd0ca1a822 ("watchdog: Integrate watchdog triggering into the cyclic
framework")
Signed-off
> -Original Message-
> From: Stefan Roese
> Sent: Friday, December 1, 2023 7:39 PM
> To: Chanho Park ; u-boot@lists.denx.de
> Subject: Re: [PATCH] watchdog: Correct watchdog timeout print message
>
> On 12/1/23 08:37, Stefan Roese wrote:
> > On 11/27/23 02:05,
000
WDT: Started watchdog@1307 without servicing (60s timeout)
After -->
StarFive # wdt start 3000
WDT: Started watchdog@1307 without servicing (3s timeout)
Fixes: c2fd0ca1a822 ("watchdog: Integrate watchdog triggering into the cyclic
framework")
Signed-off-by: Chanho
‘BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE’
443 |
BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE
|
^
Signed-off-by: Chanho Park
---
include/configs/vexpress_aemv8.h | 24
88 matches
Mail list logo