I don’t know C programming language beyond basic constructs. I don’t understand u-boot.
I’d appreciate help. A quick fix would be to disable address-of-packed-member warning although I don’t know whether it is a good idea to disable the warning.
mainline u-boot disabled address-of-packed-member warning for clang in its Makefile.