diff --git a/commands/Kconfig b/commands/Kconfig index c8f06d8..0062758 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -486,13 +486,6 @@ The oftree command has support for dumping devicetrees and, if enabled, to probe devices from the devicetree -config CMD_OFTREE_PROBE - bool - depends on CMD_OFTREE - prompt "oftree probe support" - help - This enables the -p option to probe devices from the devicetree - config CMD_OF_PROPERTY tristate select OFTREE diff --git a/commands/oftree.c b/commands/oftree.c index 612d01a..e4f52b8 100644 --- a/commands/oftree.c +++ b/commands/oftree.c @@ -64,7 +64,7 @@ dump = 1; break; case 'p': - if (IS_ENABLED(CONFIG_CMD_OFTREE_PROBE)) { + if (IS_ENABLED(CONFIG_OFDEVICE)) { probe = 1; } else { printf("oftree device probe support disabled\n");