From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] fdt: Add new fdt_set_node_status & fdt_set_status_by_alias helpers
Date: Sat, 15 Oct 2011 09:04:06 -0400 [thread overview]
Message-ID: <4E9984C6.5020004@gmail.com> (raw)
In-Reply-To: <1318619444-2059-1-git-send-email-galak@kernel.crashing.org>
Hi Kumar, Shengzhou,
On 10/14/2011 03:10 PM, Kumar Gala wrote:
> From: Shengzhou Liu<Shengzhou.Liu@freescale.com>
>
> Add common function fdt_set_node_status() to assist in various locations
> that we set a nodes status. This function utilizes the status values
> that are part of the EPAPR spec (on power.org).
>
> fdt_set_status_by_alias() is based on fdt_set_node_status() but uses an
> alias string to identify the node to update.
>
> We also add some shortcut functions to help the common cases of setting
> "okay" and "disabled":
>
> fdt_status_okay()
> fdt_status_disabled()
> fdt_status_okay_by_alias()
> fdt_status_disabled_by_alias()
>
> Finally, we fixup the corenet_ds ethernet code which previously had
> a function by the same name that can be replaced with the new helpers.
>
> Signed-off-by: Shengzhou Liu<Shengzhou.Liu@freescale.com>
> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
> ---
> board/freescale/corenet_ds/eth_hydra.c | 26 ++------------
> board/freescale/corenet_ds/eth_p4080.c | 36 +++++--------------
> common/fdt_support.c | 60 +++++++++++++++++++++++++++++++-
> include/fdt_support.h | 28 +++++++++++++++
> 4 files changed, 101 insertions(+), 49 deletions(-)
While this touches fdt_support.[ch] which is nominally "mine", it is
coupled with the Freescale support. I could make you break it into two,
but then I would have to do more work and you (and wd) would have to
make sure they went into u-boot in the right order. That sounds ugly,
so I would prefer Kumar apply it to his subrepo to feed into u-boot.
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Best regards,
gvb
[snip]
next prev parent reply other threads:[~2011-10-15 13:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 19:10 [U-Boot] [PATCH 1/2] fdt: Add new fdt_set_node_status & fdt_set_status_by_alias helpers Kumar Gala
2011-10-14 19:10 ` [U-Boot] [PATCH 2/2] powerpc/85xx: Update USB device tree status based on pin settings Kumar Gala
2011-10-21 5:16 ` Kumar Gala
2011-10-15 13:04 ` Jerry Van Baren [this message]
2011-10-21 5:16 ` [U-Boot] [PATCH 1/2] fdt: Add new fdt_set_node_status & fdt_set_status_by_alias helpers Kumar Gala
2011-10-23 8:49 ` Wolfgang Denk
2011-10-24 17:58 ` Kumar Gala
2011-10-24 19:41 ` Wolfgang Denk
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=4E9984C6.5020004@gmail.com \
--to=gvb.uboot@gmail.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