From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 30 Apr 2009 07:55:03 +0200 Subject: [U-Boot] [patch u-boot arm/next] davinci dm6446evm NAND update In-Reply-To: <200904291635.58841.david-b@pacbell.net> References: <200904291635.58841.david-b@pacbell.net> Message-ID: <20090430055503.GA31177@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16:35 Wed 29 Apr , David Brownell wrote: > From: David Brownell > > This updates the optional (non-default!) NAND support for the > DaVinci DM6446 EVM: > > - include MTD partitioning, defaulting to what Linux uses > > - use a flash-based BBT, which among other things speeds bootup > > This matches code that's now queued for mainline Linux, and might > even merge in an upcoming 2.6.30-rc; the MTIDS are set up so that > the U-Boot $mtdparts environment variable can be passed as-is on > the kernel command line, as a cmdlinepart override. > > Signed-off-by: David Brownell > > --- a/include/configs/davinci_dvevm.h > +++ b/include/configs/davinci_dvevm.h > @@ -119,6 +121,10 @@ > #ifdef CONFIG_SYS_NAND_SMALLPAGE > #define CONFIG_ENV_SECT_SIZE 512 /* Env sector Size */ > #define CONFIG_ENV_SIZE SZ_16K > +#define CONFIG_MTD_PARTITIONS > +#define CONFIG_CMD_MTDPARTS > +#define MTDIDS_DEFAULT "nand0=davinci_nand.0" > +#define MTDPARTS_DEFAULT "mtdparts=davinci_nand.0:384k(bootloader)ro,4m(kernel),-(filesystem)" too long please split Best Regards, J.