[U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

Marek Vasut marex at denx.de
Mon Aug 26 08:50:11 UTC 2019


On 8/26/19 9:28 AM, Ley Foon Tan wrote:
[...]
>>>>>> If want to use address from DT, we need get address every time need to
>>>>>> use the address.
>>>>>> For non-DM, it is easier to use constant address. Let me know if you
>>>>>> still prefer to use address from DT.
>>>>
>>>> Surely you can cache the address or even better, convert to DM/DT ?
>>> Will try to cache the address for now.  But, we need get address from
>>> DT twice, one in SPL, one in Uboot. They not sharing global data.
>>
>> I don't think there's much we can do about that, unless we can somehow
>> share parsed live DT from SPL to U-Boot, but that's for another
>> discussion/patchset/etc.
>>
>>> There is plan to convert clock drivers to DM. But, not in this patchset.
>>
>> Isn't Simon working on that already ?
> Our plan is convert S10 clock driver, Simon is working on this?

I think he was working on Gen5 clock driver.


More information about the U-Boot mailing list