[FOSS_TLK]kernel: dynamically decide to use cmdline/boot_args
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 24 Mar 2015 05:15:14 +0000 (10:15 +0530)
committerDennis Huang <denhuang@nvidia.com>
Tue, 16 Jun 2015 21:01:49 +0000 (14:01 -0700)
commitddddcf2acb00323d05427fb35c268a98816099a6
tree2d1d00e1fcf73f61907be47fc8aad79890b12d14
parent02327bd1650e9c278fb637d972205aba57d0b49e
[FOSS_TLK]kernel: dynamically decide to use cmdline/boot_args

Bootloader passes the boot arguments as cmdline. But since we are adding
support to pass the boot parameters as a structure rather then as cmdline,
we are adding support for both in TLK. Such that TLK can adapt to the
cmdline or structure passed for the boot parameters.

Change-Id: Ib28016b35decd77ebf04b6fdb72a8a264cf27d61
Signed-off-by: Sharif Inamdar <isharif@nvidia.com>
Reviewed-on: http://git-master/r/752878
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
include/kernel/boot_params.h
kernel/boot.c
kernel/main.c
platform/tegra/common/memory.c