]> git.sur5r.net Git - u-boot/commit
dm: cpu: Add a new get_count method to cpu uclass
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Jun 2015 03:15:34 +0000 (11:15 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:16 +0000 (18:03 -0600)
commit780bfdd3c72a058ba24cda0df66ca75f0a7d8b18
treedd9f729d8aad1da238271df2be85d08c04ff7435
parent4c71322b41a657596ee5e5777393ed83e80139c6
dm: cpu: Add a new get_count method to cpu uclass

Introduce a new method 'get_count' in the UCLASS_CPU ops to get
the number of CPUs in the system.

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