
Marek Vasut marex@denx.de schrieb am Mo., 26. Aug. 2019, 10:50:
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.
Right. I have been working on a gen5 click driver only. It's more or less ready to submit, but I'm still facing memory problems because now more uclasses and drivers are active, also the SPL deb got quite big...
Regards, Simon