diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-06 21:42:14 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-12-15 11:44:16 +0800 |
commit | 26047f602983dadf833546f8d40b24c7b9beaca3 (patch) | |
tree | 39f878b7614162442ed36e7d71f8a37e146ca87d /drivers/pch/Makefile | |
parent | 69b1e9f4f83ec30d6e010312e932928132a2324e (diff) |
x86: Allow removal of standard PCH drivers
These drivers are not needed on all platforms. While they are small, it
is useful in TPL to drop then. Add Kconfig control to allow this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pch/Makefile')
-rw-r--r-- | drivers/pch/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pch/Makefile b/drivers/pch/Makefile index 8ea6b7852a..d5de3e48be 100644 --- a/drivers/pch/Makefile +++ b/drivers/pch/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0+ obj-y += pch-uclass.o -obj-y += pch7.o -obj-y += pch9.o +obj-$(CONFIG_X86_PCH7) += pch7.o +obj-$(CONFIG_X86_PCH9) += pch9.o obj-$(CONFIG_SANDBOX) += sandbox_pch.o |