Re: [PATCH rtems-libbsd 3/3] freebsd/cgem: Add weak symbol for riscv

2023-03-01 Thread Padmarao.Begari
Hi will, > On Wed, 2023-03-01 at 08:27 -0600, Will wrote: > > This functionality is ideally implemented in a platform-specific > system level control register (SLCR) driver similar to ZynqMP and > Versal. You could also just leave it as-is since the default does > exactly the same thing.

Re: [PATCH rtems-libbsd 3/3] freebsd/cgem: Add weak symbol for riscv

2023-03-01 Thread Will
This functionality is ideally implemented in a platform-specific system level control register (SLCR) driver similar to ZynqMP and Versal. You could also just leave it as-is since the default does exactly the same thing. This patch should be dropped unless you're going to define an implementation

[PATCH rtems-libbsd 3/3] freebsd/cgem: Add weak symbol for riscv

2023-02-28 Thread Padmarao Begari
Add __weak_symbol instead of __weak_reference for the cgem_set_ref_clk() function for riscv build. --- freebsd/sys/dev/cadence/if_cgem.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/freebsd/sys/dev/cadence/if_cgem.c b/freebsd/sys/dev/cadence/if_cgem.c index 363a9717..a12f7b43