dm: Implement a CPU uclass
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:25:09 +0000 (20:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 03:02:33 +0000 (21:02 -0600)
commit11f4dc1583c387fbb46d473c942c4bcfe5af303e
tree109694befb15f2f476a8ce7f861680f06590ed3b
parent33eac2dc25eb8b38d2991c61036d20f707fdd54f
dm: Implement a CPU uclass

It is useful to be able to keep track of the available CPUs in a multi-CPU
system. This uclass is mostly intended for use with SMP systems.

The uclass provides methods for getting basic information about each CPU.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/Kconfig
drivers/Makefile
drivers/cpu/Kconfig [new file with mode: 0644]
drivers/cpu/Makefile [new file with mode: 0644]
drivers/cpu/cpu-uclass.c [new file with mode: 0644]
include/cpu.h [new file with mode: 0644]
include/dm/uclass-id.h