aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2014-06-12 11:36:40 -0400
committerThierry Reding <treding@nvidia.com>2014-07-17 08:37:12 -0400
commit0d827a4343b596b71a1741328c4e5687ce654e19 (patch)
tree338b4adf171c306b382c0c4eb577bc10386fc458 /include
parent155dfc7b543345ed45521900bbd32c0db4ea266e (diff)
soc/tegra: fuse: move APB DMA into Tegra20 fuse driver
The Tegra20 fuse driver is the only user of tegra_apb_readl_using_dma(). Therefore we can simply the code by incorporating the APB DMA handling into the driver directly. tegra_apb_writel_using_dma() is dropped because there are no users. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/soc/tegra/fuse.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
index 51ac804deba5..738712d75cfe 100644
--- a/include/soc/tegra/fuse.h
+++ b/include/soc/tegra/fuse.h
@@ -61,20 +61,6 @@ int tegra_fuse_readl(unsigned long offset, u32 *value);
61 61
62extern struct tegra_sku_info tegra_sku_info; 62extern struct tegra_sku_info tegra_sku_info;
63 63
64#if defined(CONFIG_TEGRA20_APB_DMA)
65int tegra_apb_readl_using_dma(unsigned long offset, u32 *value);
66int tegra_apb_writel_using_dma(u32 value, unsigned long offset);
67#else
68static inline int tegra_apb_readl_using_dma(unsigned long offset, u32 *value)
69{
70 return -EINVAL;
71}
72static inline int tegra_apb_writel_using_dma(u32 value, unsigned long offset)
73{
74 return -EINVAL;
75}
76#endif /* CONFIG_TEGRA20_APB_DMA */
77
78#endif /* __ASSEMBLY__ */ 64#endif /* __ASSEMBLY__ */
79 65
80#endif /* __SOC_TEGRA_FUSE_H__ */ 66#endif /* __SOC_TEGRA_FUSE_H__ */