summaryrefslogtreecommitdiff
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-08-20 00:24:22 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-08-20 00:24:22 +0000
commitda225db6cc54bc03fe6e71e13ff79e6ee769e4ef (patch)
tree481c52c32309f394131ea7bb6e2792eb91e8faf4 /chipset_enable.c
parent0106c62480af1e4f73d2ca91bb3185f28ce7f622 (diff)
downloadflashrom-da225db6cc54bc03fe6e71e13ff79e6ee769e4ef.tar.gz
Refactor the -p internal:mainboard handling.
This patch gets rid of some global variables and makes lots of bits along the code path that control the board enable execution more generic and clearer. From now on flashrom aborts on a few more occasions that should be safer for the user. For example it aborts if the enable function for the specified mainboard (enable) can not be found. Parts of the board_match_cbname refactoring were done by Carl-Daniel. Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'chipset_enable.c')
0 files changed, 0 insertions, 0 deletions