[rtems commit] bsp/riscv: Rework clock driver

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 12 20:43:20 UTC 2018



----- Am 6. Jul 2018 um 16:38 schrieb Hesham Almatary heshamelmatary at gmail.com:

> On Fri, Jun 29, 2018 at 10:57 AM, Sebastian Huber <sebh at rtems.org> wrote:
[...]
>> -/* CPU counter */
>> -static CPU_Counter_ticks cpu_counter_ticks;
>> +#define CLINT ((volatile clint_regs *) 0x02000000)
>>
> Can we get CLINT address from DTB instead of hardcoding it?

Yes, this is on my todo list. I will work on this next week.


More information about the devel mailing list