From: Eric =?UTF-8?B?QsOpbmFyZA==?= Date: Tue, 9 Apr 2013 21:21:44 +0200 Subject: [U-Boot] [PATCH] mx28evk: add trimffs to nand command In-Reply-To: <516457C4.7050809@freescale.com> References: <1365447568-8737-1-git-send-email-eric@eukrea.com> <516457C4.7050809@freescale.com> Message-ID: <20130409212144.1c86b16e@e6520eb> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, Le Tue, 9 Apr 2013 15:02:44 -0300, Fabio Estevam a ?crit : > Eric B?nard wrote: > > this is usefull when writing an UBI image which contains > > and UBIFS volume (check README.nand and UBI FAQ for more details) > > > > Signed-off-by: Eric B?nard > > --- > > include/configs/mx28evk.h | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h > > index d470b47..b22a20b 100644 > > --- a/include/configs/mx28evk.h > > +++ b/include/configs/mx28evk.h > > @@ -63,6 +63,7 @@ > > #define CONFIG_CMD_USB > > #define CONFIG_CMD_BOOTZ > > #define CONFIG_CMD_NAND > > +#define CONFIG_CMD_NAND_TRIMFFS > > You should add this into mx28evk_nand.h, available in u-boot.imx tree. that's the second time you ask this but mx28evk_nand.h doesn't exist, even in u-boot-imx tree, and you are the developer who added nand support to mx28evk in commit ab461be65dbfe3e2fa45f7cd836faa99663be5bb ;-) Here is a reminder of what you did in that commit : you added the mx28evk_nand option in boards.cfg which defines ENV_IS_IN_NAND when mx28evk defines ENV_IS_IN_MMC and both are using the same config which is include/configs/mx28evk.h : http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commitdiff;h=ab461be65dbfe3e2fa45f7cd836faa99663be5bb So this patch is fine against u-boot-imx. Best regards Eric