Skip to content

ARM: brcmstb: Add support for the V7 memory map

Florian Fainelli linux-arm-kernel lkml 1 version Applied

Status from this message: Applied to soc/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4ARM: Allow this header to be included by assembly filesarch/arm/include/asm/cputype.h+7 -32 replies
2/4ARM: add Broadcom Brahma-B53 main ID definitionarch/arm/include/asm/cputype.h+4 -01 reply
3/4ARM: add Broadcom Brahma-B15 main ID definitionarch/arm/include/asm/cputype.h+1 -01 reply
4/4ARM: brcmstb: Add support for the V7 memory maparch/arm/include/debug/brcmstb.S+20 -11 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMylène Josserand
1/4T-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ARM: brcmstb: Add support for the V7 memory map

Hi all,

This patch series updates the brcmstb.S DEBUG_LL routines to dynamically detect one of the latest STB chip: BCM7278. This chip has a different memory map which requires use to lookup the main ID register to know whether which register physical offset we must use.

As a consequence of doing that, we do a number of things:

- allow the inclusion of cputype.h in assembly files to reduce the duplication of constants
- define the Brahma-B53 and Brahma-B15 main ID register values, which was long overdue
- finaly update brcmstb.S to detect 7278 and offset the base register address accordingly

Note that Doug had a slightly different approach in our downstream tree where he actually added the same MIDR_* constants similar to what ARM64 has, I took that part away in order to minimize the delta, but I can easily submit that patch if this is the desired direction moving forward.

Thank you!

Doug Berger (3):
ARM: Allow this header to be included by assembly files
ARM: add Broadcom Brahma-B53 main ID definition
ARM: brcmstb: Add support for the V7 memory map

Florian Fainelli (1):
ARM: add Broadcom Brahma-B15 main ID definition

 arch/arm/include/asm/cputype.h   | 15 ++++++++++++---
 arch/arm/include/debug/brcmstb.S | 21 ++++++++++++++++++++-
 2 files changed, 32 insertions(+), 4 deletions(-)
Signature · 1 line
2.14.1