From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Tue, 8 Sep 2015 17:44:35 -0700 Subject: [PATCH] ARM: qcom: add memory node to IPQ806x/AP148 In-Reply-To: <1439936804-15138-1-git-send-email-mathieu@codeaurora.org> References: <1439936804-15138-1-git-send-email-mathieu@codeaurora.org> Message-ID: <20150909004435.GT15099@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08/18, Mathieu Olivari wrote: > 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 Does the old bootloader pass atags? If so we can just enable CONFIG_ARM_ATAG_DTB_COMPAT and then we don't need to add anything to dts files. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH] ARM: qcom: add memory node to IPQ806x/AP148 Date: Tue, 8 Sep 2015 17:44:35 -0700 Message-ID: <20150909004435.GT15099@codeaurora.org> References: <1439936804-15138-1-git-send-email-mathieu@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1439936804-15138-1-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mathieu Olivari Cc: galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, agross-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 08/18, Mathieu Olivari wrote: > 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 Does the old bootloader pass atags? If so we can just enable CONFIG_ARM_ATAG_DTB_COMPAT and then we don't need to add anything to dts files. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753709AbbIIAot (ORCPT ); Tue, 8 Sep 2015 20:44:49 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36076 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751342AbbIIAoh (ORCPT ); Tue, 8 Sep 2015 20:44:37 -0400 Date: Tue, 8 Sep 2015 17:44:35 -0700 From: Stephen Boyd To: Mathieu Olivari Cc: galak@codeaurora.org, agross@codeaurora.org, 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 Subject: Re: [PATCH] ARM: qcom: add memory node to IPQ806x/AP148 Message-ID: <20150909004435.GT15099@codeaurora.org> References: <1439936804-15138-1-git-send-email-mathieu@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439936804-15138-1-git-send-email-mathieu@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/18, Mathieu Olivari wrote: > 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 Does the old bootloader pass atags? If so we can just enable CONFIG_ARM_ATAG_DTB_COMPAT and then we don't need to add anything to dts files. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project