cpu: Add support for microcode version and CPU ID
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:27:49 +0000 (19:27 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:22 +0000 (10:27 +0800)
commit740d5d34b12f49b5e6c48e06dd8f519d9563a7e3
treea303a6b6ecd24167d18784f59221a91ab274a138
parente23c6c28b01785547e0356667ab435ef904af531
cpu: Add support for microcode version and CPU ID

Some CPUs use microcode and each core can have a different version of
microcode loaded. Also some CPUs support the concept of an integer ID used
for identification purposes. Add support for these in the CPU uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/cpu.c
include/cpu.h