[U-Boot] [PATCH 054/126] x86: Add common functions for TDP and perf control