Add functions to query CPU information, needed for ACPI. Signed-off-by: Simon Glass <sjg@chromium.org>