[U-Boot] [PATCH] cfi_flash: use AMD fixups for AMIC (e.g. A29L160A series) too

Steffen Sledz
2011-02-21T08:30:35Z

Am 11.02.2011 15:30, schrieb Steffen Sledz:
> Signed-off-by: Mario Schuknecht <m.schuknecht@dresearch.de>
> Signed-off-by: Steffen Sledz <sledz@dresearch.de>
> ---
> drivers/mtd/cfi_flash.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
> index dd394a8..527a3a5 100644
> --- a/drivers/mtd/cfi_flash.c
> +++ b/drivers/mtd/cfi_flash.c
> @@ -1924,7 +1924,8 @@ ulong flash_get_size (phys_addr_t base, int banknum)
>
> /* Do manufacturer-specific fixups */
> switch (info->manufacturer_id) {
> - case 0x0001:
> + case 0x0001: /* AMD */
> + case 0x0037: /* AMIC */
> flash_fixup_amd(info, &qry);
> break;
> case 0x001f:

Ping!

--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at DResearch.de
Fax: +49 30 515932-299
Gesch?ftsf?hrer: Dr. Michael Weber, Werner M?gle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058