]> git.dujemihanovic.xyz Git - u-boot.git/commit
fru: common: Switch capture variable with the rest
authorMichal Simek <michal.simek@xilinx.com>
Fri, 6 Nov 2020 12:53:01 +0000 (13:53 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 20 Nov 2020 09:42:54 +0000 (10:42 +0100)
commit5fb093f471d2ded8f8ad58a85f247b84631ca8dc
treef3cfe7f8b9a264a30350b4c5496a25765f44e434
parent072dbc7ac551ff4e316ac66988a8b915f48cc06f
fru: common: Switch capture variable with the rest

capture variable is bool which is just one byte and it is just causing
unaligned accesses. Better to have it as last entry in the structure.

It also simplify offset calculation for initial header copy.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/common/fru.h
board/xilinx/common/fru_ops.c