Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754198AbbHRW1D (ORCPT ); Tue, 18 Aug 2015 18:27:03 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48703 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690AbbHRW1A (ORCPT ); Tue, 18 Aug 2015 18:27:00 -0400 From: Mathieu Olivari To: galak@codeaurora.org, agross@codeaurora.org, sboyd@codeaurora.org Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, linux@arm.linux.org.uk, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mathieu Olivari Subject: [PATCH] ARM: qcom: add memory node to IPQ806x/AP148 Date: Tue, 18 Aug 2015 15:26:44 -0700 Message-Id: <1439936804-15138-1-git-send-email-mathieu@codeaurora.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 36 On recent bootloaders, the bootloader patches the DT blob with memory information. However, with old bootloader, this operation doesn't happen, which leads the board to freeze in the early init code. This patch adds the memory node to the AP148 dts explicitly to cover all boot cases. Signed-off-by: Mathieu Olivari --- arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts index 36e2b04..6886d09 100644 --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts @@ -4,6 +4,11 @@ model = "Qualcomm IPQ8064/AP148"; compatible = "qcom,ipq8064-ap148", "qcom,ipq8064"; + memory@0 { + reg = <0x42000000 0x1e000000>; + device_type = "memory"; + }; + reserved-memory { #address-cells = <1>; #size-cells = <1>; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/