arm: tegra: enterprise: Enable battery charging based on kernel option
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 4 Sep 2011 11:42:53 +0000 (16:42 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:49:44 +0000 (21:49 -0800)
commit72f5dcc7ca238852d418683023adc2b8a04128d5
treec2e578e5351a8c99e32361c5d2e621de0783e0f8
parenta475bfdbce000456947a5358909dfc6767d684b0
arm: tegra: enterprise: Enable battery charging based on kernel option

If kernel command line option have the power_supply as battery
then enable the battery charging functionality.

Reviewed-on: http://git-master/r/50673
(cherry picked from commit 4f36edabc585f3fea28e2f959558ac7e07dd2b5e)

Change-Id: I5a12105503f29e4e58991bcf4c020c709a97a7cd
Reviewed-on: http://git-master/r/56994
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R9fa09e3c265fabefd14804def31100259bfd9730
arch/arm/mach-tegra/board-enterprise-power.c
arch/arm/mach-tegra/board-enterprise.h