From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] fdt chosen node handling
Date: Wed, 19 Dec 2007 08:59:54 +0100 [thread overview]
Message-ID: <200712190859.54306.sr@denx.de> (raw)
Hi,
I am wondering how the device tree "chosen" node should be handled, if it
already exists in the device tree blob given to U-Boot. When this node
doesn't exist it gets created and everything is fine. But if it already
exists, it doesn't get overwritten and the defaults from the device tree blob
most of the time are not what I really want.
So I would like U-Boot to overwrite the existing chosen node. I discovered
that the fdt_chosen() function already has this "force" parameter, but it is
not set in the current U-Boot implementation. I would like to set it for my
board ports and I am wondering how I should handle this. Should this be done
via a compile switch (#define), or via an env variable, or...?
Any ideas/comments on this?
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next reply other threads:[~2007-12-19 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 7:59 Stefan Roese [this message]
2007-12-19 12:24 ` [U-Boot-Users] fdt chosen node handling Jerry Van Baren
2007-12-19 13:02 ` Stefan Roese
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=200712190859.54306.sr@denx.de \
--to=sr@denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox