• Florian Fainelli's avatar
    ARM: brcmstb: Add earlyprintk support using run-time checks · d0cf9d8a
    Florian Fainelli authored
    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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    d0cf9d8a
brcmstb.S 4.61 KB