ARM: brcmstb: Add support for the V7 memory map
authorDoug Berger <opendmb@gmail.com>
Fri, 23 Feb 2018 21:09:23 +0000 (13:09 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 9 May 2018 19:14:42 +0000 (12:14 -0700)
commit56e4446df9c1214e886fdc7603a5c1cb99cb1843
tree3793fd34578c2a7b5d15fe06966d784d66cbc60f
parent842fa17d6c95368d756def1e3ca20aadedc4660c
ARM: brcmstb: Add support for the V7 memory map

The 7278 device is the first device that includes support for the V7
memory map developed for use in 64-bit architecture brcmstb devices.
This map relocates the register physical offset from 0xF0000000 to
0x0000000008000000.

Since the ARM PERIPHBASE value is also relocated in the V7 memory map
we can use its value to determine whether this device uses the new
V7 memory map and therefore where to look for the SUN_TOP_CTRL
register used to identify the chip family.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/include/debug/brcmstb.S