summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/apollolake/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-09 03:40:11 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-12-15 06:44:28 +0300
commitf5b18ae3097ceaced8bef2e82f659af62433ebe1 (patch)
tree7e18ac505deec8bc826f597c9b2cfb60a7c061a1 /arch/x86/cpu/apollolake/Makefile
parent40fb08e9172c88e5399655cb4b098e0af83ff7dd (diff)
downloadu-boot-f5b18ae3097ceaced8bef2e82f659af62433ebe1.tar.xz
x86: apl: Add PUNIT driver
Add a driver for the Apollo Lake P-unit (power unit). It is modelled as a syscon driver since it only needs to be probed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/apollolake/Makefile')
-rw-r--r--arch/x86/cpu/apollolake/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/cpu/apollolake/Makefile b/arch/x86/cpu/apollolake/Makefile
index 36eefcbad7..875d454157 100644
--- a/arch/x86/cpu/apollolake/Makefile
+++ b/arch/x86/cpu/apollolake/Makefile
@@ -3,6 +3,9 @@
# Copyright 2019 Google LLC
obj-$(CONFIG_SPL_BUILD) += systemagent.o
+ifndef CONFIG_TPL_BUILD
+obj-y += punit.o
+endif
obj-y += hostbridge.o
obj-y += itss.o