From 9cd128d6bea2152ee2152543f688fff3be13db52 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 19 May 2014 13:58:35 +0200 Subject: commands: add of_dump command The oftree command is overloaded. This adds a dedicated command which only dumps devicetrees to the console so that the corresponding functionality in the oftree command can be removed in the next step. Signed-off-by: Sascha Hauer --- commands/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'commands/Kconfig') diff --git a/commands/Kconfig b/commands/Kconfig index 02f0931f75..381f3fdd2e 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1886,6 +1886,19 @@ config CMD_LSMOD help List loaded barebox modules. +config CMD_OF_DUMP + tristate + select OFTREE + prompt "of_dump" + default y if CMD_OFTREE + help + dump devicetree nodes to the console + + Usage: of_dump [-f] [NODE] + + Options: + -f work on instead of internal devicetree + config CMD_OF_NODE tristate select OFTREE -- cgit v1.2.3