From patchwork Mon Feb 20 05:23:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 94186 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1244305obz; Mon, 20 Feb 2017 01:01:33 -0800 (PST) X-Received: by 10.223.136.123 with SMTP id e56mr14920027wre.28.1487581292857; Mon, 20 Feb 2017 01:01:32 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id v15si23127019wra.112.2017.02.20.01.01.32; Mon, 20 Feb 2017 01:01:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E8006B3B4C; Mon, 20 Feb 2017 09:37:58 +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 SfkCgxL2RTKz; Mon, 20 Feb 2017 09:37:58 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A100BB3EA1; Mon, 20 Feb 2017 09:24:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A8E3F4A08A for ; Mon, 20 Feb 2017 06:24: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 oanJN26-pZ0g for ; Mon, 20 Feb 2017 06:24:15 +0100 (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 conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by theia.denx.de (Postfix) with ESMTPS id CE46E4A068 for ; Mon, 20 Feb 2017 06:24:10 +0100 (CET) Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v1K5NsEj018274; Mon, 20 Feb 2017 14:23:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v1K5NsEj018274 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1487568234; bh=by8RYYfCHvlNgu2tQbmyW63oQONnqWo0nRlQ3iOMtME=; h=From:To:Cc:Subject:Date:From; b=Pj7c2xA+/7/jnAeQJ3YpljXspTy6gDOquJGIrr77Pz0bC3m/cFcIF9a+WAgUL+tPQ 0UFsz9UHhagpC57AlPi1abMBy2hd5+/H5LRxfohNUQKBy/q8bIsJwRVj0LrzBNsgfI lAy+KKqcxBCDhbSEEjRRJnfJkbq+J17H1a47qAs+b3cGXwzxePRgFUp+DAqQHXnwjD 3z/97q1j+yaQpYL2QPWzvYRWZtLO0VFOuyDLJBeBY0HfoEUmMQhX16/IJ+ns6Z+QM4 mmlVr7DGhICDD5F+CkLzuSXUexQeHZtNWAknSC2teOwaqDJlePYHGkJhI8vkY9MR8K fdShTqlAAff1A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 20 Feb 2017 14:23:37 +0900 Message-Id: <1487568217-19936-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Albert Aribaud Subject: [U-Boot] [PATCH] ARM: uniphier: revive accidentally removed dcache_disable() 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" Commit a8e6300d483d ("ARM: uniphier: refactor spl_init_board()") accidentally dropped dcache_disable() call. Since then, the SPL of LD11 and LD20 failed to load U-Boot proper. Fixes: a8e6300d483d ("ARM: uniphier: refactor spl_init_board()") Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/spl_board_init.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/mach-uniphier/spl_board_init.c b/arch/arm/mach-uniphier/spl_board_init.c index da749a3..0079a08 100644 --- a/arch/arm/mach-uniphier/spl_board_init.c +++ b/arch/arm/mach-uniphier/spl_board_init.c @@ -168,4 +168,8 @@ void spl_board_init(void) pr_err("failed to init DRAM\n"); hang(); } + +#ifdef CONFIG_ARM64 + dcache_disable(); +#endif }