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

Steffen Sledz sledz at dresearch.de
Mon Feb 21 09:30:35 CET 2011


Am 11.02.2011 15:30, schrieb Steffen Sledz:
> Signed-off-by: Mario Schuknecht <m.schuknecht at dresearch.de>
> Signed-off-by: Steffen Sledz <sledz at 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



More information about the U-Boot mailing list