summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorStephan Guilloux <stephan.guilloux@free.fr>2009-01-15 00:48:24 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-01-15 00:48:24 +0000
commit9982aefc8735f9bad10af463b01ac6ccfa0e2bd1 (patch)
tree48fa23bd177f6b5d78353ba478c4f2886603463a /ichspi.c
parentf9ad0bb5c118af6dda6b9a96e931e59b42b617d2 (diff)
downloadast2050-flashrom-9982aefc8735f9bad10af463b01ac6ccfa0e2bd1.zip
ast2050-flashrom-9982aefc8735f9bad10af463b01ac6ccfa0e2bd1.tar.gz
Use designated initializers for the board enable table
Similarly to flashchips array, this patch intends to make the table board_pciid_enables more readable. Corresponding to flashrom svn r382 and coreboot v2 svn r3861. Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr> > What real problem does this solve? 1. Next time someone adds a new struct member, we avoid mistakes of ordering of initializers 2. we avoid mistakes in the first place. The .x = y stuff was added for a (good) reason, I think this is an improvement. Acked-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'ichspi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud