diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2010-10-25 10:01:28 +0530 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-11-23 16:44:00 -0800 |
commit | c3b77692f4e3e0a62da1c7749aa3a1c16fa586aa (patch) | |
tree | f1bae6c2a778a314aab9c96d375998831b36609f /arch/arm/mach-tegra/fuse.c | |
parent | e8903adee3e814b72170d183b3b16653e48612a8 (diff) |
[ARM] tegra: fuse read/write apis for fuse burning
expose fuse register read and write apis for fuse
burning
Change-Id: Id6785f5506fe9293ddb5072240f49470ca5fcd08
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/fuse.c')
-rw-r--r-- | arch/arm/mach-tegra/fuse.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index 3c0d89c934d4..3ba5ec9c06bb 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -119,6 +119,16 @@ static inline void fuse_writel(u32 value, unsigned long offset) } #endif +u32 tegra_fuse_readl(unsigned long offset) +{ + return fuse_readl(offset); +} + +void tegra_fuse_writel(u32 value, unsigned long offset) +{ + fuse_writel(value, offset); +} + void tegra_init_fuse(void) { u32 reg = readl(IO_TO_VIRT(TEGRA_CLK_RESET_BASE + 0x48)); |