From 2e2f72ec8a067a8fe859cd91f9cca2d2ec2416ed Mon Sep 17 00:00:00 2001
From: Elyes HAOUAS <ehaouas@noos.fr>
Date: Sat, 16 Jan 2021 18:01:38 +0100
Subject: drivers/ocp/dmi/Kconfig: Set FRU_DEVICE_ID depend on OCP_DMI

This will remove "CONFIG_FRU_DEVICE_ID=0" from ".config" when unused.

Change-Id: Ic50de165c1f3de3886d3cd1ae66853c9fad35ed2
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49571
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
---
 src/drivers/ocp/dmi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/drivers')

diff --git a/src/drivers/ocp/dmi/Kconfig b/src/drivers/ocp/dmi/Kconfig
index b30a40d473..eaf5ad0c5d 100644
--- a/src/drivers/ocp/dmi/Kconfig
+++ b/src/drivers/ocp/dmi/Kconfig
@@ -10,3 +10,4 @@ config OCP_DMI
 config FRU_DEVICE_ID
 	int
 	default 0
+	depends on OCP_DMI
-- 
cgit v1.2.3