diff options
author | Jonathan Lemon <jonathan.lemon@gmail.com> | 2022-03-07 16:05:34 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-09 10:57:07 +0000 |
commit | 0cfcdd1ebcfe1a9b262f6ad8419580720dc843c4 (patch) | |
tree | 80d95eb51df2558591052d0cf661ee783793d3fb /lib/crc16.c | |
parent | b57b44f7496a76cf881acd64defc1aeb39fbdbfe (diff) |
ptp: ocp: add nvmem interface for accessing eeprom
Add the at24 drivers for the eeprom, and use the accessors
via the nvmem API instead of direct i2c accesses. This makes
things cleaner.
Add an eeprom map table which specifies where the pre-defined
information is located. Retrieve the information and and export
it via the devlink interface.
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions