diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-08-02 13:08:03 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2019-08-27 11:19:23 +0200 |
commit | 234a60244c62ffce5c5c1d5b80d200f4568c5cfd (patch) | |
tree | 1cb48f4de3abda3055c59a67b89f97447be40008 /include/power | |
parent | 0c8620d2ffe1440165156c7a0d95424c7eabe60b (diff) | |
download | u-boot-234a60244c62ffce5c5c1d5b80d200f4568c5cfd.tar.gz u-boot-234a60244c62ffce5c5c1d5b80d200f4568c5cfd.tar.bz2 u-boot-234a60244c62ffce5c5c1d5b80d200f4568c5cfd.zip |
pmu: stpmic1: change specific NVM api to MISC
Use MISC u-class to export the NVM register (starting at 0xF8 offset)
and avoid specific API.
- SHADOW have offset < 0.
- NVM have register > 0
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include/power')
-rw-r--r-- | include/power/stpmic1.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/power/stpmic1.h b/include/power/stpmic1.h index d90a1a9c93..dc8b5a7459 100644 --- a/include/power/stpmic1.h +++ b/include/power/stpmic1.h @@ -108,11 +108,4 @@ enum { STPMIC1_PWR_SW2, STPMIC1_MAX_PWR_SW, }; - -int stpmic1_shadow_read_byte(u8 addr, u8 *buf); -int stpmic1_shadow_write_byte(u8 addr, u8 *buf); -int stpmic1_nvm_read_byte(u8 addr, u8 *buf); -int stpmic1_nvm_write_byte(u8 addr, u8 *buf); -int stpmic1_nvm_read_all(u8 *buf, int buf_len); -int stpmic1_nvm_write_all(u8 *buf, int buf_len); #endif |