All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH u-boot] aspeed/flash: fix definition of the MT25QL01GB chip
@ 2019-05-16 16:13 Cédric Le Goater
  2019-05-17 17:15 ` [PATCH u-boot v2016.07-aspeed-openbmc] " Adriana Kobylak
  0 siblings, 1 reply; 2+ messages in thread
From: Cédric Le Goater @ 2019-05-16 16:13 UTC (permalink / raw)
  To: openbmc
  Cc: Joel Stanley, Andrew Jeffery, Adriana Kobylak, Cédric Le Goater

Signed-off-by: Cédric Le Goater <clg@kaod.org>
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 */
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH u-boot  v2016.07-aspeed-openbmc] aspeed/flash: fix definition of the MT25QL01GB chip
  2019-05-16 16:13 [PATCH u-boot] aspeed/flash: fix definition of the MT25QL01GB chip Cédric Le Goater
@ 2019-05-17 17:15 ` Adriana Kobylak
  0 siblings, 0 replies; 2+ messages in thread
From: Adriana Kobylak @ 2019-05-17 17:15 UTC (permalink / raw)
  To: Cédric Le Goater, joel
  Cc: openbmc, Andrew Jeffery, Adriana Kobylak, openbmc

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

Tested-by: Adriana Kobylak <anoo@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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-17 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 16:13 [PATCH u-boot] aspeed/flash: fix definition of the MT25QL01GB chip Cédric Le Goater
2019-05-17 17:15 ` [PATCH u-boot v2016.07-aspeed-openbmc] " Adriana Kobylak

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.