From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753288AbbLXOB1 (ORCPT ); Thu, 24 Dec 2015 09:01:27 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:32779 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752358AbbLXOBZ (ORCPT ); Thu, 24 Dec 2015 09:01:25 -0500 From: Ivaylo Dimitrov To: linux@arm.linux.org.uk, tony@atomide.com, nicolas.pitre@linaro.org, arnd@arndb.de, pali.rohar@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Ivaylo Dimitrov Subject: [PATCH 0/3] OMAP: RX51: save atags data to be exported on /proc/atags Date: Thu, 24 Dec 2015 16:00:55 +0200 Message-Id: <1450965658-2675-1-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be available in /proc/atags. With DT booted kernel this information is no longer availabe. Fix that by saving ATAGS data early in the boot stage so it can be exported in /proc/atags later Ivaylo Dimitrov (3): ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/ ARM: ATAGS: Fix declaration of function save_atags OMAP: RX51: save ATAGS data in the early boot stage arch/arm/include/asm/atags.h | 20 ++++++++++++++++++++ arch/arm/kernel/atags.h | 20 -------------------- arch/arm/kernel/atags_parse.c | 3 +-- arch/arm/kernel/setup.c | 3 +-- arch/arm/mach-omap2/board-generic.c | 12 +++++++++++- 5 files changed, 33 insertions(+), 25 deletions(-) create mode 100644 arch/arm/include/asm/atags.h delete mode 100644 arch/arm/kernel/atags.h -- 1.9.1