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 <a.fatoum@xxxxxxxxxxxxxx> --- drivers/of/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 4dc40b27f442..816aff0063b0 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" -- 2.39.2