From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Lilja Date: Fri, 8 May 2009 20:19:15 +0200 Subject: [U-Boot] [PATCH 10/10] imx27lite: add support for imx27lite board from LogicPD In-Reply-To: <59b21cf20905061334y206658a7oeaae17a0c659c91a@mail.gmail.com> References: <1241634633-13917-1-git-send-email-yanok@emcraft.com> <1241634633-13917-11-git-send-email-yanok@emcraft.com> <59b21cf20905061334y206658a7oeaae17a0c659c91a@mail.gmail.com> Message-ID: <59b21cf20905081119u1b409e1cxf96f7a709641b947@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi I have now used the mxc_nand.c driver from patch 4 on a i.MX31 Litekit board and have some add some more input, see below. 2009/5/6 Magnus Lilja : >> +/* >> + * NAND >> + */ >> +#define CONFIG_NAND_MXC >> +#define CONFIG_MXC_NAND_REGS_BASE ? ? ?0xd8000000 It would be nice to have the REGS_BASE automatically set to whatever is appropriate for the SoC the code that is selected. I.e. it should be enough to specify CONFIG_MX31 in the board config file and then the NFC register base is handled automatically (and the equivalent for i.MX27). Other than that, the only change to make it work on i.MX31 Litekit was to disable the NAND bus width checking since that's currently i.MX27 specific code in mxc_nand.c so that would need some minor update for i.MX31. Regards, Magnus Lilja