[mach-tegra/ventana] use tegra_reserve() to handle carveout memory allocation
authorPeter Zu <pzu@nvidia.com>
Fri, 28 Jan 2011 06:05:28 +0000 (22:05 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:46:12 +0000 (21:46 -0800)
commit14fa52e206aa4e85ad105a14ec6c372f9b94b95e
tree415082fd6325e14644f6f991502cad2c96c5c484
parent86013b648ff99c90346f0379c4ffb6f5b17eecd2
[mach-tegra/ventana] use tegra_reserve() to handle carveout memory allocation

For K36, the kernel command line will pass "mem=size@base" from bootloader
to kernel. Apparently, we were having two different ways to interpret
it
    1) size = total physical memory size - carveout size
    2) Or size = total physical memory size

Ventana is the only platform to use #1. Switch it to #2 which requires
tegra_reserve() to handle carveout memory allocation.

Change carveout size to 256MB as well.

Original-Change-Id: Ifc24c1a5f6300d827068c67c0580cae7eb4ec229
Reviewed-on: http://git-master/r/17444
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc02c5fb338f88ac0175f9cb01fbb4d2c5b9c9c67
arch/arm/mach-tegra/board-ventana-panel.c
arch/arm/mach-tegra/board-ventana.c