From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] i2c compiling and/or linking problem
Date: Thu, 10 Feb 2005 20:23:08 +0100 [thread overview]
Message-ID: <20050210192313.8CB45C108D@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 10 Feb 2005 18:21:42 +0100." <420B9826.9080405@web.de>
In message <420B9826.9080405@web.de> you wrote:
> > Why would you need this?
>
> No idea, just because others do include it for some reason.
This is a bad strategy. NEVER do something which you don't under-
stand. At least TRY to understand things before blindly following
others.
> I thought that CFG_HARD_I2C would do everything on its own - and there's
Remember, this is software. Never will "everything" happen "on its
own". You will always have to program each and every action yourself.
> less to configure in the /include/configs/board.h file.
> Why is the HARD I2c so much more difficult?
Just look at the code.
> > Maybe there is no hardware I2C implementation for your processor?
> I just assumed there was one for the MPC875, maybe that was premature.
No, that's an 8xx, and should work. However, I still recommend to use
soft-i2c instead.
> > needed. Again, I recommend to use soft-i2c instead. There is zero
> > advantages with hard-i2c, just a lot of trouble.
>
> You're the expert, I'm convinced ;-)
Again, this is not a good strategy. Of course I feel flattered if you
call me an expert, but I'd prefer if you make your decisions based on
understanding, not on hearsay.
Viele Gr??e,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you're not part of the solution, then you're part of the precipi-
tate.
next prev parent reply other threads:[~2005-02-10 19:23 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 [this message]
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
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=20050210192313.8CB45C108D@atlas.denx.de \
--to=wd@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