All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT
Date: Tue, 5 Apr 2016 12:15:34 +0200	[thread overview]
Message-ID: <57039046.8090709@xilinx.com> (raw)
In-Reply-To: <CAPnjgZ3HramAfWzWxnm-+Sz0dSt2Gnjut_qnkFbHnpQqjbwbGg@mail.gmail.com>

Hi Simon,

On 5.4.2016 02:03, Simon Glass wrote:
> Hi Michal,
> 
> On 4 April 2016 at 11:50, 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>
>> ---
>>
>>  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
> 
> Should that be:
> 
> default y if OF_LIBFDT
> 
> ?
> 
>> +       depends on OF_LIBFDT
>> +       help
>> +         Do FDT related setup before booting into the Operating System.
>> +


In recent commits to this file both formats are used.

+config CMD_BLOCK_CACHE
+ bool "blkcache - control and stats for block cache"
+ depends on BLOCK_CACHE
+ default y if BLOCK_CACHE

even looks non standard.

+config CMD_BOOTEFI
+ bool "bootefi"
+ depends on EFI_LOADER
+ default y

I am happy to change whatever style you prefer but I think it should be
synchronized. The efi one was Reviewed by you. :-)

Thanks,
Michal

  reply	other threads:[~2016-04-05 10:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-04 17:50 [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT Michal Simek
2016-04-05  0:03 ` Simon Glass
2016-04-05 10:15   ` Michal Simek [this message]
2016-04-05 19:09     ` Simon Glass
2016-04-06  1:28       ` Masahiro Yamada
2016-04-06 18:28         ` Michal Simek
2016-04-09 18:36           ` Simon Glass
2016-04-11 14:41             ` Michal Simek
2016-04-11 14:43               ` Simon Glass
2016-04-11 14:48                 ` Michal Simek
2016-04-11 14:50                   ` Simon Glass
2016-04-11 14:59                     ` Michal Simek
2016-04-20 14:40                       ` Simon Glass

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=57039046.8090709@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.