x86: spl: Support init of a PUNIT
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 03:37:49 +0000 (21:37 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 2 Nov 2019 23:20:27 +0000 (07:20 +0800)
commitc0e2c81d8e845cd700bb2311514f9d6877f784bb
tree405b48a28506f5a3a6ede07a81f6d2701ed0b582
parenta478a26cd00bbe14d51952b9ae3620415fbdf2b2
x86: spl: Support init of a PUNIT

The x86 power unit handles power management. Support initing this device
which is modelled as a new type of system controller since there are no
operations needed.

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