ARM: tegra: stingray: add /proc/bootinfo
authorvcdt34 <john.poplett@motorola.com>
Thu, 28 Oct 2010 04:23:01 +0000 (23:23 -0500)
committerColin Cross <ccross@android.com>
Tue, 2 Nov 2010 23:09:27 +0000 (16:09 -0700)
commitd4a6a651b1b493dfc3a4d90b39cc40878fb49b0a
tree3d7c1da74dc3f8d739cdfc6b667e782c810314b6
parent06be57378b51a0d62e99b2fd664ad50823d68f21
ARM: tegra: stingray: add /proc/bootinfo

Add /proc/bootinfo pseudo-file to make the power-up reason
available to user-mode applications.

Removed macros and superfluous code. Revised
to pass checkpatch.pl gauntlet.

Revised leading comments for accuracy.

Remove trailing whitespaces. Recheck with checkpatch.pl

Converted to seq_file interface.

Change-Id: I5098a4aef645f5e346d4bdd60ced1b2beb3f68db
Signed-off-by: vcdt34 <john.poplett@motorola.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board-stingray-bootinfo.c [new file with mode: 0644]
arch/arm/mach-tegra/board-stingray.c
arch/arm/mach-tegra/board-stingray.h