ARM: B15: Update to support Brahma-B53
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 23 Feb 2018 20:41:10 +0000 (12:41 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Apr 2018 22:16:48 +0000 (15:16 -0700)
commit48e6dd793b34751fe385476438e183302ba6d15b
tree7c1133432cb7f8b1af375017c3357f9d67af072e
parent60cc43fc888428bb2f18f08997432d426a243338
ARM: B15: Update to support Brahma-B53

The B53 CPU design supports up to 8 processors, which moved the RAC_FLUSH_REG
offset 0x4 bytes below to make room for a RAC_CONFIG2_REG to control RAC
settings for CPU4-7.

Lookup the processor type (B15 or B53) and adjust the RAC_FLUSH_REG offset
accordingly, if we do not know the processor, bail out.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mm/cache-b15-rac.c