[PATCH u-boot v2016.07-aspeed-openbmc] aspeed/flash: fix definition of the MT25QL01GB chip

Adriana Kobylak anoo at linux.ibm.com
Sat May 18 03:15:36 AEST 2019


On 2019-05-16 11:13, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Tested-by: Adriana Kobylak <anoo at us.ibm.com>

> Fixes: 3c33d1e84ebb ("aspeed/flash: Add MT25QL01GB chip")
> ---
> 
>  It should fix https://github.com/openbmc/u-boot/issues/18
> 
>  arch/arm/mach-aspeed/flash.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-aspeed/flash.c 
> b/arch/arm/mach-aspeed/flash.c
> index 54a6059f4216..db69d514952f 100644
> --- a/arch/arm/mach-aspeed/flash.c
> +++ b/arch/arm/mach-aspeed/flash.c
> @@ -1149,10 +1149,11 @@ static ulong flash_get_size (ulong base,
> flash_info_t *info)
>  			info->readcmd = 0x0b;
>  			info->dualport = 0;
>  			info->dummybyte = 1;
> -			info->buffersize = 1;
> +			info->buffersize = 256;
>  			WriteClk = 50;
>  			EraseClk = 25;
>  			ReadClk  = 50;
> +			info->address32 = 1;
>  			break;
> 
>  		default:	/* use JEDEC ID */



More information about the openbmc mailing list