diff options
author | Joshua Cha <joshuac@nvidia.com> | 2013-03-13 10:54:55 +0900 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:13:45 -0700 |
commit | 966b8ae9a0f22a64f4d6c4819e7dafc134b0d890 (patch) | |
tree | f7c32bca552a39bce2254f27fd446a1a09a4eebd /arch/arm/mach-tegra/board.h | |
parent | 8321d5f35d8c51aebdd8f264d9da8f41256edf4c (diff) |
ARM: tegra: Add NCT access api and sysfs interface
NCT is the acronym for Nvidia Configuration Table.
This change provides API to read NCT items from NCT carveout region
and create sysfs interface for userspace to read items.
Bug 1223662
Change-Id: Id6f887fd9c458f4f9c3dfe27f6a95fbe930cfb00
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/208680
(cherry picked from commit d6234478cd3e92b8c739e806998b9f75e732d714)
Reviewed-on: http://git-master/r/226216
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r-- | arch/arm/mach-tegra/board.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 597b11359e67..765a068ed686 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h @@ -2,7 +2,7 @@ * arch/arm/mach-tegra/board.h * * Copyright (C) 2010 Google, Inc. - * Copyright (C) 2011-2013 NVIDIA Corporation. All rights reserved. + * Copyright (c) 2011-2013, NVIDIA CORPORATION. All rights reserved. * * Author: * Colin Cross <ccross@google.com> @@ -141,6 +141,11 @@ extern unsigned long nvdumper_reserved; #endif extern bool tegra_lp0_vec_relocate; extern unsigned long tegra_grhost_aperture; +#ifdef CONFIG_TEGRA_USE_NCT +/* info for NCK(NCT for Kernel) carveout area */ +extern unsigned long tegra_nck_start; +extern unsigned long tegra_nck_size; +#endif void tegra_init_late(void); |