summaryrefslogtreecommitdiffstats
path: root/commands/oftree.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-26 12:01:49 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-06 11:41:28 +0100
commit04a26f678dd157a26f301a8d06cb233f21d0dad8 (patch)
tree67b240b54919a5fdf5bfd896de840338900ac407 /commands/oftree.c
parentb6a2800537e43e35ff9eb87244b3e606a1485461 (diff)
downloadbarebox-04a26f678dd157a26f301a8d06cb233f21d0dad8.tar.gz
barebox-04a26f678dd157a26f301a8d06cb233f21d0dad8.tar.xz
oftree command: retire CMD_OFTREE_PROBE Kconfig option
Whether or not the user wishes devicetree probe support can now be decided indepentently of the oftree command, so retire the CMD_OFTREE_PROBE option and use OFDEVICE in the code instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/oftree.c')
-rw-r--r--commands/oftree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/oftree.c b/commands/oftree.c
index 612d01afa5..e4f52b851c 100644
--- a/commands/oftree.c
+++ b/commands/oftree.c
@@ -64,7 +64,7 @@ static int do_oftree(int argc, char *argv[])
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");