From patchwork Mon Feb 1 08:38:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shengjiangwu X-Patchwork-Id: 576465 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E8D4F140297 for ; Mon, 1 Feb 2016 22:07:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1D01BA7524; Mon, 1 Feb 2016 12:07:24 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oUoRiRgIk-2f; Mon, 1 Feb 2016 12:07:23 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F0854A7529; Mon, 1 Feb 2016 12:07:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0424CA74E0 for ; Mon, 1 Feb 2016 10:36:15 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NeIssf8-RGJ0 for ; Mon, 1 Feb 2016 10:36:14 +0100 (CET) X-Greylist: delayed 3605 seconds by postgrey-1.34 at theia; Mon, 01 Feb 2016 10:36:10 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mr11p00im-asmtp001.me.com (mr11p00im-asmtp001.me.com [17.110.69.252]) by theia.denx.de (Postfix) with ESMTPS id A73B8A74B4 for ; Mon, 1 Feb 2016 10:36:10 +0100 (CET) Received: from localhost (unknown [119.6.15.114]) by mr11p00im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) with ESMTPSA id <0O1V0076O1815230@mr11p00im-asmtp001.me.com> for u-boot@lists.denx.de; Mon, 01 Feb 2016 08:36:04 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-02-01_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1602010165 From: shengjiangwu To: u-boot@lists.denx.de Date: Mon, 01 Feb 2016 16:38:49 +0800 Message-id: <1454315929-30926-1-git-send-email-shengjiangwu@icloud.com> X-Mailer: git-send-email 1.7.9.5 X-Mailman-Approved-At: Mon, 01 Feb 2016 12:07:12 +0100 Subject: [U-Boot] [PATCH] arm: socfpga: Fix booting from QSPI flash on socdk board. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Added missing parameter 'u-boot,dm-pre-reloc' for qspi and flash0 in dts file arch/arm/dts/socfpga_cyclone5_socdk.dts to make it support booting from QSPI flash. Signed-off-by: shengjiangwu Cc: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese Reviewed-by: Jagan Teki --- arch/arm/dts/socfpga_cyclone5_socdk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts index a202709..bc60419 100644 --- a/arch/arm/dts/socfpga_cyclone5_socdk.dts +++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts @@ -83,9 +83,11 @@ }; &qspi { + u-boot,dm-pre-reloc; status = "okay"; flash0: n25q00@0 { + u-boot,dm-pre-reloc; #address-cells = <1>; #size-cells = <1>; compatible = "n25q00";