All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question on EON EN29LV160B Flash Memory
Date: Wed, 14 Oct 2009 13:11:17 +0200	[thread overview]
Message-ID: <200910141311.17985.sr@denx.de> (raw)
In-Reply-To: <F1F6EC0C8B75034F9E3A79FC85122E8E0142BCEF@aquib01a>

On Wednesday 14 October 2009 11:20:21 SETTE AGOSTINO - technolabs wrote:
> I am going to prepare a new U-Boot with a HW which has on board an EON
>  EN29LV160B Flash Memory. As far as I see in the latest U-Boot tree this
>  kind of FLASH is not yet managed but anyhow I found some infos on EON
>  manufacturer into the file u-boot/include/flash.h and more exactly
> 
>  173 /* Manufacturers inside bank 1 have ids like 0x01xx01xx */
>  174 #define EON_MANUFACT    0x011C011C      /* EON     manuf. ID in
>  D23..D16, D7..D0 */
> 
> I have an EON EN29LV160B Flash Memory datasheet and on the Manufacturer ID
>  I have different infos which indicate differente values, as here reported
> 
>  173 /* Manufacturers inside bank 1 have ids like 0x7Fxx7Fxx */
>  174 #define EON_MANUFACT    0x7F1C7F1C      /* EON     manuf. ID in
>  D23..D16, D7..D0 */
> 
> Is this correct?

Yes, this looks correct on first glance. But I'm not really sure. I added 
Niklaus Giger to Cc, who introduced this define.

Niklaus, could you please comment here? Thanks.

> Furthermore, if I would like to add this kind of flash I have to modify,
>  add the flash type/config, the file
> 
> u-boot/drivers/mtd/jedec_flash.c
> 
> or
> 
> u-boot/drivers/mtd/cfi_flash.c

Changes in jedec_flash.c should be sufficient. Even though you need to enable 
the CFI driver (CONFIG_FLASH_CFI_DRIVER) and this JEDEC legacy driver 
(CONFIG_FLASH_CFI_LEGACY).
 
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

  parent reply	other threads:[~2009-10-14 11:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04  7:34 [U-Boot] Please pull u-boot-i2c.git next branch Heiko Schocher
2009-05-10 19:55 ` Wolfgang Denk
2009-10-14  9:20 ` [U-Boot] Question on EON EN29LV160B Flash Memory SETTE AGOSTINO - technolabs
2009-10-14 10:22   ` Mike Frysinger
2009-10-14 11:11   ` Stefan Roese [this message]
2009-10-15  6:56     ` Niklaus Giger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910141311.17985.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.