the following patch was just integrated into master: commit 9193b7c9ba8423d43f4b6b4be6562aa34d52e317 Author: Anton Kochkov anton.kochkov@gmail.com Date: Sat Jul 21 07:29:48 2012 +0400
msrtool: Factor out cpuid() from target probe functions into main()
Almost all probe functions called cpuid(). Those calls are replaced by a single cpuid() call in main() and a new parameter to the target probe functions with the cpuid() result.
The vendor_t and struct cpuid_t definitions are moved closer to the top of msrtool.h and the vendor_t enum is reformatted to simplify addition of further values.
Change-Id: Icd615636207499cfa46b8b99bf819ef8ca2d97c0 Signed-off-by: Anton Kochkov anton.kochkov@gmail.com Signed-off-by: Peter Stuge peter@stuge.se
Build-Tested: build bot (Jenkins) at Sat Jul 21 17:35:18 2012, giving +1 Reviewed-By: Peter Stuge peter@stuge.se at Sat Jul 21 17:35:46 2012, giving +2 See http://review.coreboot.org/1259 for details.
-gerrit