From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT
Date: Mon, 11 Apr 2016 07:33:35 +0200 [thread overview]
Message-ID: <570B372F.7020502@xilinx.com> (raw)
In-Reply-To: <CAPnjgZ0DMzLkLOdJSoFFmhAAdWzcNjP0jDzDo0fLM6n+cBT0cg@mail.gmail.com>
On 9.4.2016 20:36, Simon Glass wrote:
> Hi Michal,
>
> On 6 April 2016 at 12:28, Michal Simek <michal.simek@xilinx.com> wrote:
>> 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>
>> ---
>>
>> Changes in v2: None
>>
>> cmd/Kconfig | 7 +++++++
>> cmd/Makefile | 2 +-
>> 2 files changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/cmd/Kconfig b/cmd/Kconfig
>> index fe8b4f0510da..8703cdb4a9be 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 ba041973079c..f95759e67044 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
>
> Won't this disable the command for lots of boards?
Also based on Masahiro response boards shouldn't be affected.
Only that 6 boards needs to be fixed which is what I have done in 1/2.
http://lists.denx.de/pipermail/u-boot/2016-April/250628.html
Thanks,
Michal
next prev parent reply other threads:[~2016-04-11 5:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 18:28 [U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig Michal Simek
2016-04-06 18:28 ` [U-Boot] [PATCH v2 2/2] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT Michal Simek
2016-04-09 18:36 ` Simon Glass
2016-04-11 5:33 ` Michal Simek [this message]
2016-04-14 6:25 ` Michal Simek
2016-04-21 11:20 ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-04-06 20:34 ` [U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig Ricardo Ribalda Delgado
2016-04-07 6:06 ` Michal Simek
2016-04-07 12:37 ` Ricardo Ribalda Delgado
2016-04-07 12:39 ` Michal Simek
2016-04-07 12:43 ` Ricardo Ribalda Delgado
2016-04-21 11:20 ` [U-Boot] [U-Boot, v2, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=570B372F.7020502@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox