From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 4 Jan 2009 07:36:39 +0100 Subject: [U-Boot] [PATCH] spi/atmel: add AT45DB321D support In-Reply-To: <1230623959-16522-1-git-send-email-vapier@gentoo.org> References: <1230623959-16522-1-git-send-email-vapier@gentoo.org> Message-ID: <20090104063639.GA6960@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 02:59 Tue 30 Dec , Mike Frysinger wrote: > From: Brad Bozarth > > Signed-off-by: Brad Bozarth > Signed-off-by: Mike Frysinger > --- > drivers/mtd/spi/atmel.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/drivers/mtd/spi/atmel.c b/drivers/mtd/spi/atmel.c > index 10fcf0c..581b710 100644 > --- a/drivers/mtd/spi/atmel.c > +++ b/drivers/mtd/spi/atmel.c > @@ -52,6 +52,14 @@ to_atmel_spi_flash(struct spi_flash *flash) > > static const struct atmel_spi_flash_params atmel_spi_flash_table[] = { > { > + .idcode1 = 0x27, > + .l2_page_size = 9, > + .pages_per_block = 8, > + .blocks_per_sector = 32, > + .nr_sectors = 32, > + .name = "AT45DB321D", the AT45DB321D is supposed to be 64 block per sector and 64 sectors Best Regards, J.