ARM: tegra: Add support for passing arguments to bootloader.
authorGaurav Sarode <gsarode@nvidia.com>
Mon, 27 Feb 2012 16:24:30 +0000 (21:24 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:59:32 +0000 (00:59 -0700)
commit06be16dc23fb6fabac6004bb3c4fc24d2aafa31c
tree9572bb3dfc186d67b3dee3980b4201267f864736
parentadf05680d571b4aefaab896412145d83715bebb6
ARM: tegra: Add support for passing arguments to bootloader.

PMC SCRATCH register 0 holds value across warmboot.
Storing values in bit31:30 for recovery and fastboot.
This requires change in bootloader as well to parse these arguments.

Bug 863014

Change-Id: I1d4b752dbc6dd7b065e9d0cc87df189e7caeb201
Signed-off-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-on: http://git-master/r/86140
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R55bb6af9c4fa0970320f4397bbe3aca4678e8c7d
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pm.h