[U-Boot] [PATCH v3 3/4] arm: socfpga: Convert system manager from struct to defines

Marek Vasut marex at denx.de
Thu Oct 10 10:09:30 UTC 2019


On 10/10/19 12:00 PM, Anatolij Gustschin wrote:
> On Thu, 10 Oct 2019 11:39:13 +0200
> Marek Vasut wrote:
> ...
>>> The preferred way for I/O access is documented in [1], see "Use structures
>>> for I/O access" section.  
>>
>> This seems to not scale and I keep running into the problem where a few
>> registers changed between various mutations of the IP more and more often.
>>
>> This seems to be the case here too.
> 
> The maintainers of these drivers should decide what is better here.

Then I guess we go for the macros, since the structures don't work in
the SoCFPGA case after all ?


More information about the U-Boot mailing list