Skip to content

ARM: mxs: use CHIPID hardware to detect SoC

Lauri Hintsala linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARM: mxs: use CHIPID hardware to detect SoC

I'm not able to test patches until Monday. I'll test these when I'm back to office. Anyway patches looks good for me. Thanks!

Lauri

Quoted 26 lines · Shawn Guo

As suggested by Wolfram, the first patch changes cpu_is_xxx and __arch_decomp_setup to use the CHIPID register than machine type to detect the chip between imx23 and imx28, so that we do not need to change these functions whenever a new board/machine gets added.

The second one is a rebase of patch [1] on above patch.

Regards,
Shawn

[1] [PATCH v4] ARM: mxs: Add initial support for Bluegiga APX4 Development Kit

---

Lauri Hintsala (1):
ARM: mxs: Add initial support for Bluegiga APX4 Development Kit

Shawn Guo (1):
ARM: mxs: detect SoC by checking CHIPID register

  arch/arm/mach-mxs/Kconfig                   |   16 ++
  arch/arm/mach-mxs/Makefile                  |    1 +
  arch/arm/mach-mxs/include/mach/mxs.h        |   28 ++--
  arch/arm/mach-mxs/include/mach/uncompress.h |   11 +-
  arch/arm/mach-mxs/mach-apx4devkit.c         |  245 +++++++++++++++++++++++++++
  5 files changed, 283 insertions(+), 18 deletions(-)