mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 a7cbe92cef ("ARM: tegra: remove tegra EMC scaling
driver").
Signed-off-by: Peter De Schrijver <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
3f394f8064
commit
35874f3617
6 changed files with 22 additions and 14 deletions
|
|
@ -27,6 +27,22 @@
|
|||
u32 tegra_read_chipid(void);
|
||||
u8 tegra_get_chip_id(void);
|
||||
|
||||
enum tegra_revision {
|
||||
TEGRA_REVISION_UNKNOWN = 0,
|
||||
TEGRA_REVISION_A01,
|
||||
TEGRA_REVISION_A02,
|
||||
TEGRA_REVISION_A03,
|
||||
TEGRA_REVISION_A03p,
|
||||
TEGRA_REVISION_A04,
|
||||
TEGRA_REVISION_MAX,
|
||||
};
|
||||
|
||||
u32 tegra_read_straps(void);
|
||||
u32 tegra_read_chipid(void);
|
||||
void tegra_init_fuse(void);
|
||||
|
||||
extern enum tegra_revision tegra_revision;
|
||||
|
||||
#if defined(CONFIG_TEGRA20_APB_DMA)
|
||||
int tegra_apb_readl_using_dma(unsigned long offset, u32 *value);
|
||||
int tegra_apb_writel_using_dma(u32 value, unsigned long offset);
|
||||
|
|
|
|||
Loading…
Reference in a new issue