]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:22 +0000 (13:29 +0200)
commitf61ccf13a844282b4785f9851fcb61267d28501d
treefb84f9a1def64c31dd1f6bc66b7a3fc765cd21f9
parent25bacb8efcd1276977dc68ee010a34ccfba01ba4
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