[PATCH 0/5] ATAGs to DT patches

From: Pali RohÃr
Date: Mon Jul 06 2015 - 16:26:56 EST


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"
entry
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(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/