From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753208AbcGTAog (ORCPT ); Tue, 19 Jul 2016 20:44:36 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34891 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718AbcGTAoe (ORCPT ); Tue, 19 Jul 2016 20:44:34 -0400 Subject: Re: [PATCH v2] ARM: brcmstb: Add earlyprintk support using run-time checks To: linux-arm-kernel@lists.infradead.org References: <1468281416-14594-1-git-send-email-f.fainelli@gmail.com> Cc: Russell King , Brian Norris , Gregory Fong , Ray Jui , Scott Branden , open list , "open list:BROADCOM BCM7XXX ARM ARCHITECTURE" From: Florian Fainelli Message-ID: <578EC96F.2030107@gmail.com> Date: Tue, 19 Jul 2016 17:44:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1468281416-14594-1-git-send-email-f.fainelli@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2016 04:56 PM, Florian Fainelli wrote: > The SUN_TOP_CTRL_FAMILY_ID register is at a fixed absolute address for > all of our supported chips, so utilize its value to determine what the > UARTA base address should be based on the value we read. > > Since the code is called both during decompressor when the MMU is off, > and after the MMU has been turned on in the kernel, and we want to do > the lookup only once, we use the same technique as tegra.S and have a > shared storage location between the decompressor and the kernel. > > Signed-off-by: Florian Fainelli Applied to soc/next. -- Florian