From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 8 Apr 2010 11:35:35 +0200 Subject: [U-Boot] [PATCH 2/7] AT49BV322A Flash: the erase regions are in the wrong order. In-Reply-To: References: Message-ID: <201004081135.35853.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 08 April 2010 02:00:23 David Wu wrote: > The device id for this Flash is 0xc8. > > Signed-off-by: David Wu > --- > drivers/mtd/cfi_flash.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c > index fdba297..af86f99 100644 > --- a/drivers/mtd/cfi_flash.c > +++ b/drivers/mtd/cfi_flash.c > @@ -1690,8 +1690,10 @@ static void flash_fixup_atmel(flash_info_t *info, > struct cfi_qry *qry) > /* AT49BV6416(T) list the erase regions in the wrong order. > * However, the device ID is identical with the non-broken > * AT49BV642D they differ in the high byte. > + * AT49BV322A is also in the wrong order. > */ > - if (info->device_id == 0xd6 || info->device_id == 0xd2) > + if (info->device_id == 0xd6 || info->device_id == 0xd2 || > + info->device_id == 0xc8) > reverse_geometry = !reverse_geometry; > > if (reverse_geometry) Could you please split this patch from the patch series. I'll push it via the CFI git repository then. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de