From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Tue, 27 Mar 2007 20:07:27 -0500 Subject: [U-Boot-Users] i2c_set_bus_num In-Reply-To: <20070327200027.50195924.kim.phillips@freescale.com> References: <20070327200027.50195924.kim.phillips@freescale.com> Message-ID: <4609BFCF.5070308@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kim Phillips wrote: > See "Initial Stack, Global Data" in the u-boot README. > > If your memory controller, or whatever you want to access while unable to write global vars, is hanging off of the 2nd bus, do something equivalent to what the 8349ITX does (look for CFG_SPD_BUS_NUM). I have plans to fix this problem, by enhancing the i2c functions to take a bus number. This will eliminate the global variable that causes this problem. I plan on working on this patch once all the other patches that I submitted have been applied.