From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 21 Jul 2008 15:21:11 -0500 Subject: [U-Boot-Users] [PATCH] fsl-i2c: fix writes to data segment before relocation In-Reply-To: <20080721201319.GA16567@game.jcrosoft.org> References: <1216668383-17967-1-git-send-email-timur@freescale.com> <20080721201319.GA16567@game.jcrosoft.org> Message-ID: <4884EFB7.7020309@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 Jean-Christophe PLAGNIOL-VILLARD wrote: > Maybe a macro will more clear like > if(is_relacated()) > i2c_bus_speed[0] = temp; I'm just following the same pattern as other code. The code "if (gd->flags & GD_FLG_RELOC)" is used in a number of other places. Someone else can create that macro and update all the U-Boot code to use it, if he wants. -- Timur Tabi Linux kernel developer at Freescale