Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755704AbbGFU0w (ORCPT ); Mon, 6 Jul 2015 16:26:52 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36131 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751901AbbGFU0n (ORCPT ); Mon, 6 Jul 2015 16:26:43 -0400 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Russell King , Laura Abbott , Grant Likely , Rob Herring , Will Deacon , Ivaylo Dimitrov , Sebastian Reichel , Pavel Machek , Tony Lindgren , =?UTF-8?q?Andreas=20F=C3=A4rber?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 0/5] ATAGs to DT patches Date: Mon, 6 Jul 2015 22:26:08 +0200 Message-Id: <1436214373-12969-1-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1249 Lines: 29 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/