From: Wolfgang Denk Date: Fri, 18 May 2012 23:52:06 +0200 Subject: [U-Boot] [RFC] Make i2c probe opt-outable? In-Reply-To: <4FB69847.2090703@ti.com> References: <20120517184345.GA23562@bill-the-cat> <201205172248.20143.vapier@gentoo.org> <4FB674CD.8030502@ti.com> <20120518182659.6E492202A22@gemini.denx.de> <4FB69847.2090703@ti.com> Message-ID: <20120518215206.9A421202A22@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tom Rini, In message <4FB69847.2090703@ti.com> you wrote: > > Right. I'm not suggesting removing i2c probe, I'm just suggesting > making it opt-out'able. For example, on the beaglebone I can make i2c > probe work as expected. It's just requring that we toggle the I2C_CON > enable bit for some reason in probe, but not when we are actually trying > to write to a bad address. I'd like to just #undef CONFIG_CMD_I2C_PROBE > for the board and be done with it. Otherwise it lists (nearly) every > address which is useless. Can you use bit-banged I2C on these boards? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "IBM uses what I like to call the 'hole-in-the-ground technique' to destroy the competition..... IBM digs a big HOLE in the ground and covers it with leaves. It then puts a big POT OF GOLD nearby. Then it gives the call, 'Hey, look at all this gold, get over here fast.' As soon as the competitor approaches the pot, he falls into the pit" - John C. Dvorak