From d6c0e2ea68baf76e22956f3c089c84d7fb17ab8d Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Wed, 22 Nov 2023 18:29:41 +0100 Subject: of: add CONFIG_OF for Linux compatibility barebox has CONFIG_OFTREE and CONFIG_OFDEVICE as separate definitions for good reason, because configurations parsing device trees, while not using them are possible. In Linux, there is no such distinction and CONFIG_OF is used as single option for this. Provide the same option in barebox as hidden symbol and select it from CONFIG_OFDEVICE to make porting a tiny bit easier. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20231122172951.376531-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- drivers/of/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/of/Kconfig') diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 4dc40b27f4..816aff0063 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -11,8 +11,12 @@ config OFTREE_MEM_GENERIC config DTC bool +config OF + bool + config OFDEVICE select OFTREE + select OF select DTC bool "Enable probing of devices from the devicetree" -- cgit v1.2.3