[FOSS_TLK]platform: tegra: cleanup fuse handling
authorScott Long <scottl@nvidia.com>
Wed, 19 Nov 2014 23:31:46 +0000 (15:31 -0800)
committerDennis Huang <denhuang@nvidia.com>
Tue, 16 Jun 2015 20:53:27 +0000 (13:53 -0700)
commita4bb244323565cbb2ccf4bb058fa84598f0e0442
treee576ffdfbe09c13be982a85835b77e3ed9a5584b
parent3decdf1973cfd1a414edd2b7674277a11f5aebde
[FOSS_TLK]platform: tegra: cleanup fuse handling

Move chip-specific details on fuse handling into arch-specific
file (e.g. platform/tegra4/fuse.c).

This code exports interfaces (fuse_read, fuse_make_visible,
fuse_make_invisible) to the common tegra fuse code that hides
details like register offsets/layouts, etc.

Change-Id: I6472861f89a50bee7541395bd1ea048a27c181e3
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/707295
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
platform/tegra/common/fuse.c
platform/tegra/common/platform.c
platform/tegra/include/platform/platform_fuse.h
platform/tegra/include/platform/tegra4/fuse_ext.h [new file with mode: 0644]
platform/tegra/tegra4/fuse.c [new file with mode: 0644]
platform/tegra/tegra4/rules.mk