From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=kaod.org (client-ip=188.165.43.98; helo=14.mo3.mail-out.ovh.net; envelope-from=clg@kaod.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kaod.org X-Greylist: delayed 605 seconds by postgrey-1.36 at bilbo; Fri, 17 May 2019 02:31:38 AEST Received: from 14.mo3.mail-out.ovh.net (14.mo3.mail-out.ovh.net [188.165.43.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 454cPk2WgdzDqLT for ; Fri, 17 May 2019 02:31:35 +1000 (AEST) Received: from player694.ha.ovh.net (unknown [10.109.143.238]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id C75EF2143E9 for ; Thu, 16 May 2019 18:13:37 +0200 (CEST) Received: from kaod.org (deibp9eh1--blueice1n0.emea.ibm.com [195.212.29.162]) (Authenticated sender: clg@kaod.org) by player694.ha.ovh.net (Postfix) with ESMTPSA id 5AF615C66557; Thu, 16 May 2019 16:13:32 +0000 (UTC) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: openbmc@lists.ozlabs.org Cc: Joel Stanley , Andrew Jeffery , Adriana Kobylak , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PATCH u-boot] aspeed/flash: fix definition of the MT25QL01GB chip Date: Thu, 16 May 2019 18:13:30 +0200 Message-Id: <20190516161330.32029-1-clg@kaod.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10101855439946287874 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddttddgleehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2019 16:31:40 -0000 Signed-off-by: Cédric Le Goater 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