All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddedalley.com>
To: Yoder Stuart-B08248 <stuart.yoder@freescale.com>
Cc: Linux PPC Dev ML <linuxppc-dev@ozlabs.org>,
	Jon Loeliger <jdl@jdl.com>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: macros and dtc
Date: Mon, 19 Feb 2007 15:16:49 -0500	[thread overview]
Message-ID: <0B394386-47DB-47C1-A3F3-BCE80F30B528@embeddedalley.com> (raw)
In-Reply-To: <9696D7A991D0824DBA8DFAC74A9C5FA302A1C2F1@az33exm25.fsl.freescale.net>


On Feb 19, 2007, at 1:57 PM, Yoder Stuart-B08248 wrote:

> bus-frequency = <33MHZ> is much better than
> bus-frequency = <13ab6680>

Except, 33MHZ isn't a valid macro name, and if
these constants would have been _decimal_
in the first place, 33000000, or 33333333 would
be understandable :-)  I've screwed up by thinking
(or not, I guess) these are decimal numbers.....
I agree with you, though.  Of course, these values
should be zero in the dts and filled in by
the boot loader/wrapper.

A real programmer would recognize these
standard constants in hex (or octal), too :-)


Thanks.

	-- Dan

  reply	other threads:[~2007-02-19 20:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-18 16:58 macros and dtc Kumar Gala
2007-02-19 15:51 ` Geoff Levand
2007-02-19 18:07 ` Dan Malek
2007-02-19 18:57   ` Yoder Stuart-B08248
2007-02-19 20:16     ` Dan Malek [this message]
2007-02-19 21:06       ` Yoder Stuart-B08248
2007-02-20 13:15     ` Segher Boessenkool
2007-02-19 19:28   ` Kumar Gala
2007-02-19 20:04   ` Benjamin Herrenschmidt
2007-02-19 23:29     ` David Gibson

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=0B394386-47DB-47C1-A3F3-BCE80F30B528@embeddedalley.com \
    --to=dan@embeddedalley.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=jdl@jdl.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=stuart.yoder@freescale.com \
    /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.