Re: [PATCH v2] ARM: brcmstb: Add earlyprintk support using run-time checks

From: Florian Fainelli
Date: Tue Jul 19 2016 - 20:44:39 EST


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 <f.fainelli@xxxxxxxxx>

Applied to soc/next.
--
Florian