summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-04-06 20:28:04 +0200
committerTom Rini <trini@konsulko.com>2016-04-18 17:11:31 -0400
commit23922e2676ba901c0fd574a7e8df5eed0e084a97 (patch)
tree43eddfd7e34dfbb951a14857527120070e653faf /cmd
parent5375389fe33cc55b6c5813a9fd665f6eee52aff9 (diff)
downloadu-boot-imx-23922e2676ba901c0fd574a7e8df5eed0e084a97.zip
u-boot-imx-23922e2676ba901c0fd574a7e8df5eed0e084a97.tar.gz
u-boot-imx-23922e2676ba901c0fd574a7e8df5eed0e084a97.tar.bz2
cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT
Create CMD_FDT Kconfig entry to have an option to disable fdt command which is not required for small configuration which requires libfdt only. Enable it by default for all targets which enables OF_LIBFDT. Signed-off-by: Michal Simek <michal.simek@xilinx.com> [trini: Fixup flea3/sandbox/id8313/siemens-am33xx/smartweb] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig7
-rw-r--r--cmd/Makefile2
2 files changed, 8 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index fe8b4f0..8703cdb 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -173,6 +173,13 @@ config CMD_ELF
help
Boot an ELF/vxWorks image from the memory.
+config CMD_FDT
+ bool "Flattened Device Tree utility commands"
+ default y
+ depends on OF_LIBFDT
+ help
+ Do FDT related setup before booting into the Operating System.
+
config CMD_GO
bool "go"
default y
diff --git a/cmd/Makefile b/cmd/Makefile
index ba04197..f95759e 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -54,7 +54,7 @@ obj-$(CONFIG_CMD_EXT4) += ext4.o
obj-$(CONFIG_CMD_EXT2) += ext2.o
obj-$(CONFIG_CMD_FAT) += fat.o
obj-$(CONFIG_CMD_FDC) += fdc.o
-obj-$(CONFIG_OF_LIBFDT) += fdt.o
+obj-$(CONFIG_CMD_FDT) += fdt.o
obj-$(CONFIG_CMD_FITUPD) += fitupd.o
obj-$(CONFIG_CMD_FLASH) += flash.o
ifdef CONFIG_FPGA