From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] i2c compiling and/or linking problem - solved (for the archive)
Date: Fri, 11 Feb 2005 10:10:54 -0500 [thread overview]
Message-ID: <420CCAFE.3000004@smiths-aerospace.com> (raw)
In-Reply-To: <420CC656.7000309@web.de>
Peter Asemann wrote:
[snip]
> But ... another assumption of mine ... normally hardware support makes
> things easier than if there is no hardware support, for noone implements
> hardware support for something that can be done in software quite
> simple... or not?
Not necessarily. Hardware can do things in the background, but u-boot
doesn't use "background" operation (by design and mostly by necessity).
Hardware requires setting up the operation, waiting for it to
complete, and then getting the results. Error detection and recovery
(especially for I2C) is a real pain.
Trivia: I2C on the 82xx and, IIRC, 8xx family is actually done in
software (microcode in the CPM) and is horribly inefficient in terms of
CPM resources (not that that matters for u-boot).
>>> less to configure in the /include/configs/board.h file.
>>> Why is the HARD I2c so much more difficult?
>>
>>
>> Just look at the code.
>
>
> Okay, the HARD code is twice as long and looks more complicated, but
> this could - theoretically - also be the fault of the coder, not the
> hardware.
We're all above average here ;-). Seriously, there isn't much
inefficient code in u-boot. About the only thing I can think of is the
8245 I2C code (which is hardware only)... that is an ugly glue-in of
some example Mot code so we can Blame Someone Else[tm].
[snip]
> Best regards,
>
> Peter Asemann
gvb
next prev parent reply other threads:[~2005-02-11 15:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-10 16:42 [U-Boot-Users] i2c compiling and/or linking problem Peter Asemann
2005-02-10 17:05 ` Wolfgang Denk
2005-02-10 17:21 ` Peter Asemann
2005-02-10 19:23 ` Wolfgang Denk
2005-02-11 14:51 ` [U-Boot-Users] i2c compiling and/or linking problem - solved (for the archive) Peter Asemann
2005-02-11 15:10 ` Jerry Van Baren [this message]
2005-02-11 17:33 ` Wolfgang Denk
2005-02-13 8:22 ` Gleb Natapov
2005-02-11 17:28 ` 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=420CCAFE.3000004@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.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 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.