aboutsummaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2014-06-12 11:36:36 -0400
committerThierry Reding <treding@nvidia.com>2014-07-17 08:32:51 -0400
commit35874f3617b38e0c1f72163407c41d554a8f5939 (patch)
tree4676fd03dc2ffa7aa00028549be7845dc74c80b5 /include/soc
parent3f394f80645bf0c38a30042ba605c71663331035 (diff)
ARM: tegra: move fuse exports to soc/tegra/fuse.h
All fuse related functionality will move to a driver in the following patches. To prepare for this, export all the required functionality in a global header file and move all users of fuse.h to soc/tegra/fuse.h. While we're at it, remove tegra_bct_strapping, as its only user was removed in Commit a7cbe92cef27 ("ARM: tegra: remove tegra EMC scaling driver"). 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/soc')
-rw-r--r--include/soc/tegra/fuse.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
index a43a750dd0a3..822eb348e107 100644
--- a/include/soc/tegra/fuse.h
+++ b/include/soc/tegra/fuse.h
@@ -27,6 +27,22 @@
27u32 tegra_read_chipid(void); 27u32 tegra_read_chipid(void);
28u8 tegra_get_chip_id(void); 28u8 tegra_get_chip_id(void);
29 29
30enum tegra_revision {
31 TEGRA_REVISION_UNKNOWN = 0,
32 TEGRA_REVISION_A01,
33 TEGRA_REVISION_A02,
34 TEGRA_REVISION_A03,
35 TEGRA_REVISION_A03p,
36 TEGRA_REVISION_A04,
37 TEGRA_REVISION_MAX,
38};
39
40u32 tegra_read_straps(void);
41u32 tegra_read_chipid(void);
42void tegra_init_fuse(void);
43
44extern enum tegra_revision tegra_revision;
45
30#if defined(CONFIG_TEGRA20_APB_DMA) 46#if defined(CONFIG_TEGRA20_APB_DMA)
31int tegra_apb_readl_using_dma(unsigned long offset, u32 *value); 47int tegra_apb_readl_using_dma(unsigned long offset, u32 *value);
32int tegra_apb_writel_using_dma(u32 value, unsigned long offset); 48int tegra_apb_writel_using_dma(u32 value, unsigned long offset);