From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Date: Wed, 8 Oct 2008 18:58:33 +0400 Subject: [U-Boot] [PATCH 2/4] Make the fsl_elbc_nand driver work for both 83xxand 85xx In-Reply-To: <1C177A8063C5154B91118DE5DDF14F0F160614@zch01exm27.fsl.freescale.net> References: <1221816772-23220-1-git-send-email-Jason.jin@freescale.com> <1221816772-23220-2-git-send-email-Jason.jin@freescale.com> <20081007163259.GA3372@loki.buserror.net> <1C177A8063C5154B91118DE5DDF14F0F160614@zch01exm27.fsl.freescale.net> Message-ID: <20081008145833.GA12478@oksana.dev.rtsoft.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 08, 2008 at 05:45:01PM +0800, Jin Zhengxiong-R64188 wrote: [...] > Thanks. > I was trying to avoid too much changes to the code, which maybe result > in other functions > can not work. Actually, As the different immap definition, to completly > avoid the duplicating, we need to merge the lbc immap for 85xx/83xx and > change the related code. > > There is already a fsl_lbc.h file in include/asm but it is included by > some .S file and can not move the structure into it. You can surround it with #ifndef __ASSEMBLY__ -- Anton Vorontsov email: cbouatmailru at gmail.com irc://irc.freenode.net/bd2