From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/5][RESEND] CSB637 - add KB920x support
Date: Thu, 25 Aug 2005 09:07:33 +0200 [thread overview]
Message-ID: <430D6E35.7030909@imc-berlin.de> (raw)
In-Reply-To: <000401c5a8ff$7ae12730$b50196c0@denxp>
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
> Steven Scholz <steven.scholz@imc-berlin.de> schreibt:
>>>+#ifdef CONFIG_KB920x
>>>+ twi->TWI_IADR = addr;
>>>+#else
>>> /* Set TWI Internal Address Register with first messages data
>
> field */
>
>>> /* only one address byte is supported */
>>> if (alen > 0)
>>> twi->TWI_IADR = addr & 0xff;
>>>+#endif
>>
>>Why is this required? IMHO we should avoid putting board dependend
>>DEFINES in common code.
kb_admin wrote:
> We used the conditional because our board supports more than a single
> byte for the TWI address and we didn't want to break other targets.
> Please let me the best solution to this goal as we don't want to use
> target-specific conditionals, if possible.
The better way would be the fix the at91-i2c driver to support multio
byte addresses!
> Also, we have updated two constants in the patch. I'm including the
> original patch modified with the changes.
:-(
gzip isn't exactly human readable!
Whcih constants did you change?
--
Steven
next prev parent reply other threads:[~2005-08-25 7:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-24 9:19 [U-Boot-Users] [PATCH 1/5][RESEND] CSB637 - add KB920x support Anders Larsen
2005-08-24 9:28 ` Steven Scholz
2005-08-24 9:32 ` Anders Larsen
2005-08-24 22:59 ` kb_admin
2005-08-25 7:03 ` Steven Scholz
2005-08-25 13:42 ` [U-Boot-Users] [PATCH 1/5][RESEND #2] " Anders Larsen
2005-08-25 14:43 ` Steven Scholz
2005-08-25 14:49 ` Anders Larsen
2005-09-01 6:48 ` Peter Menzebach
2005-08-25 17:55 ` kb9200_dev at kwikbyte.com
2005-08-25 21:48 ` kb9200_dev at kwikbyte.com
2005-10-05 0:15 ` Wolfgang Denk
2005-10-05 16:44 ` Anders Larsen
2005-10-05 23:23 ` Wolfgang Denk
2005-08-25 7:07 ` Steven Scholz [this message]
2005-10-05 0:07 ` [U-Boot-Users] [PATCH 1/5][RESEND] " 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=430D6E35.7030909@imc-berlin.de \
--to=steven.scholz@imc-berlin.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