I tried to cherry-pick the 12 latest commits from https://github.com/u-boot/u-boot/search?q=address-of-packed-member&type=Commits, but failed.
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.