From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 1/2] flash: add device ID for Microchip PIC32 internal flash.
Date: Sun, 10 Apr 2016 20:36:38 +0200 [thread overview]
Message-ID: <570A9D36.20802@gmail.com> (raw)
In-Reply-To: <1458306368-15981-1-git-send-email-purna.mandal@microchip.com>
Am 18.03.2016 um 14:06 schrieb Purna Chandra Mandal:
> Microchip PIC32 has internal parallel flash (non-CFI compliant).
> These flash devices do not support any identifier command so no
> standard IDs. Added unique IDs to seperate these flash devices
> from others supported by U-Boot.
>
> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
> ---
applied to u-boot-mips/next, thanks.
>
> Changes in v3: None
> Changes in v2: None
>
> include/flash.h | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/include/flash.h b/include/flash.h
> index f53ace7..c9aacd5 100644
> --- a/include/flash.h
> +++ b/include/flash.h
> @@ -400,6 +400,9 @@ extern flash_info_t *flash_get_info(ulong base);
> #define FLASH_STM800DT 0x00D7 /* STM M29W800DT (1M = 64K x 16, top) */
> #define FLASH_STM800DB 0x005B /* STM M29W800DB (1M = 64K x 16, bottom)*/
>
> +#define FLASH_MCHP100T 0x0060 /* MCHP internal (1M = 64K x 16) */
> +#define FLASH_MCHP100B 0x0061 /* MCHP internal (1M = 64K x 16) */
> +
> #define FLASH_28F400_T 0x0062 /* MT 28F400B3 ID ( 4M = 256K x 16 ) */
> #define FLASH_28F400_B 0x0063 /* MT 28F400B3 ID ( 4M = 256K x 16 ) */
>
> @@ -486,7 +489,7 @@ extern flash_info_t *flash_get_info(ulong base);
> #define FLASH_MAN_SHARP 0x00500000
> #define FLASH_MAN_ATM 0x00600000
> #define FLASH_MAN_CFI 0x01000000
> -
> +#define FLASH_MAN_MCHP 0x02000000 /* Microchip Technology */
>
> #define FLASH_TYPEMASK 0x0000FFFF /* extract FLASH type information */
> #define FLASH_VENDMASK 0xFFFF0000 /* extract FLASH vendor information */
>
--
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160410/b5daab69/attachment.sig>
prev parent reply other threads:[~2016-04-10 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 13:06 [U-Boot] [PATCH v3 1/2] flash: add device ID for Microchip PIC32 internal flash Purna Chandra Mandal
2016-03-18 13:06 ` [U-Boot] [PATCH v3 2/2] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver Purna Chandra Mandal
2016-04-09 18:34 ` Simon Glass
2016-04-10 18:37 ` Daniel Schwierzeck
2016-04-10 18:36 ` Daniel Schwierzeck [this message]
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=570A9D36.20802@gmail.com \
--to=daniel.schwierzeck@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox