diff options
author | Hiro Sugawara <hsugawara@nvidia.com> | 2011-09-13 17:20:35 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-09-16 06:48:03 -0700 |
commit | 4d6ebb3d0f87311e3e6243bf11f646f6a8b56f7e (patch) | |
tree | 76cdb86d1c5a7d2192a53679438f47ba27c0c845 /arch/arm/mach-tegra/tegra_smmu.h | |
parent | e796581d9baee3317b65771637ec59b76191391f (diff) |
arm: tegra: smmu: Remove IORESOURCE use from SMMU IOVA range
SMMU simply needs to know its assigned IOVA range, but does not need
address space resources.
Bug 874438
Change-Id: I96a8718e692bbb96b5fce6ec7ebc90f6930f358c
Reviewed-on: http://git-master/r/52670
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra_smmu.h')
-rw-r--r-- | arch/arm/mach-tegra/tegra_smmu.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra_smmu.h b/arch/arm/mach-tegra/tegra_smmu.h new file mode 100644 index 000000000000..aba140e0f2d0 --- /dev/null +++ b/arch/arm/mach-tegra/tegra_smmu.h @@ -0,0 +1,22 @@ +/* + * arch/arm/mach-tegra/tegra_smmu.h + * + * Copyright (C) 2011 NVIDIA Corporation. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ +struct tegra_smmu_window { + unsigned long start; + unsigned long end; +}; + +extern struct tegra_smmu_window *tegra_smmu_window(int wnum); +extern int tegra_smmu_window_count(void); |