
10 Oct
2019
10 Oct
'19
11:39 a.m.
On 10/10/19 11:29 AM, Anatolij Gustschin wrote:
On Thu, 10 Oct 2019 10:43:46 +0200 Simon Goldschmidt simon.k.r.goldschmidt@gmail.com wrote: ...
Why is this required? In the past we have rejected all new code adding defines instead of structs for register accesses. Have we changed our mind now?
Who is we?
U-Boot maintainers/community.
I haven't noticed that in the last 2 years. Plus Linux is rather using structs than defines, or am I wrong?
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.
[...]