[PATCH 0/5] ATAGs to DT patches

Pali Rohár pali.rohar at gmail.com
Mon Jul 6 13:26:08 PDT 2015

This patch series converts some legacy ATAGs into DT and provide them to
userspace. It is needed for userspace applications which needs some
informations from legacy bootloaders which are not DT compatible.

Patch series is for now without DT documentation files. It was tested in
QEMU for Nokia N900. File /proc/cpuinfo contains correct "Revision" line
from ATAG_REVISION and /proc/atags contains full ATAGs structure.

Pali Rohár (5):
  arm: devtree: Set system_rev from DT "/revision"
  arm: boot: convert ATAG_REVISION to DT "/revision" entry
  arm: atags: Fix declaration of function save_atags
  arm: devtree: Read ATAGs structure from DT "/chosen/linux,atags"
  arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

 arch/arm/boot/compressed/atags_to_fdt.c |    8 ++++++-
 arch/arm/kernel/atags.h                 |    4 ++--
 arch/arm/kernel/devtree.c               |   36 ++++++++++++++++++++++++++++---
 3 files changed, 42 insertions(+), 6 deletions(-)


More information about the linux-arm-kernel mailing list