All of lore.kernel.org
 help / color / mirror / Atom feed
From: Auer, Lukas <lukas.auer@aisec.fraunhofer.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt()
Date: Sat, 10 Nov 2018 14:11:27 +0000	[thread overview]
Message-ID: <34bd5127be66b5035116da11dc367769d2f00a09.camel@aisec.fraunhofer.de> (raw)
In-Reply-To: <1539234422-1357-5-git-send-email-bmeng.cn@gmail.com>

Hi Bin,

On Wed, 2018-10-10 at 22:06 -0700, Bin Meng wrote:
> Currently the comments of several APIs (eg: dm_init_and_scan()) say:
> 
> @pre_reloc_only: If true, bind only drivers with the
> DM_FLAG_PRE_RELOC
> flag. If false bind all drivers.
> 
> The 'Pre-Relocation Support' chapter in doc/driver-model/README.txt
> documents the same that both device tree properties and driver flag
> are supported.
> 
> However the implementation only checks these special device tree
> properties without checking the driver flag at all. This updates
> lists_bind_fdt() to consider both scenarios.
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> 
> ---

FYI, on a pass over my patch series Travis CI found one more use of
lists_bind_fdt(), which got added to U-Boot master recently. It is used
twice in drivers/misc/imx8/scu.c with the config imx8qxp_mek_defconfig.

Thanks,
Lukas

  reply	other threads:[~2018-11-10 14:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11  5:06 [U-Boot] [PATCH v3 0/8] dm: Various fixes in dm core/cpu/timer Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 1/8] dm: cpu: Fix print_cpuinfo() output Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 3/8] dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() Bin Meng
2018-11-10 14:11   ` Auer, Lukas [this message]
2018-11-11  4:48     ` Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 5/8] dm: Correct pre_reloc_only parameter description in several APIs' comments Bin Meng
2018-10-11  5:07 ` [U-Boot] [PATCH v3 6/8] dm: core: Mirror the chosen node parse logic in the livetree scanning Bin Meng
2018-10-11  5:07 ` [U-Boot] [PATCH v3 7/8] test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag Bin Meng
2018-10-11  5:07 ` [U-Boot] [PATCH v3 8/8] timer: Sort Kconfig driver entries Bin Meng
2018-10-15 19:58 ` [U-Boot] [PATCH v3 7/8] test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 8/8] timer: Sort Kconfig driver entries sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 6/8] dm: core: Mirror the chosen node parse logic in the livetree scanning sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 5/8] dm: Correct pre_reloc_only parameter description in several APIs' comments sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 3/8] dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 1/8] dm: cpu: Fix print_cpuinfo() output sjg at google.com

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=34bd5127be66b5035116da11dc367769d2f00a09.camel@aisec.fraunhofer.de \
    --to=lukas.auer@aisec.fraunhofer.de \
    --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.