diff options
author | Keith <keith@rhizomatica.org> | 2021-05-16 17:01:27 -0500 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2023-03-27 15:40:45 -0600 |
commit | 069ba5838e234d0c7e2ff968369eb8a5700d3bf0 (patch) | |
tree | c698e7c8b08ccfe27a2b266687abdd92f2dc1c67 | |
parent | e464ef652426c306aa02f5f3187d78e5d287175d (diff) |
Eeprom hack
-rw-r--r-- | eeprom | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | src/osmo-bts-sysmo/eeprom.c | 2 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/misc/sysmobts_par.c | 2 |
3 files changed, 2 insertions, 2 deletions
Binary files differ diff --git a/src/osmo-bts-sysmo/eeprom.c b/src/osmo-bts-sysmo/eeprom.c index 6c887d41..1c379aae 100644 --- a/src/osmo-bts-sysmo/eeprom.c +++ b/src/osmo-bts-sysmo/eeprom.c @@ -79,7 +79,7 @@ /** * EEPROM device file */ -#define EEPROM_DEV "/sys/bus/i2c/devices/i2c-1/1-0050/eeprom" +#define EEPROM_DEV "eeprom" /** * EEPROM configuration start address diff --git a/src/osmo-bts-sysmo/misc/sysmobts_par.c b/src/osmo-bts-sysmo/misc/sysmobts_par.c index f1fe8f2d..919ebaf0 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_par.c +++ b/src/osmo-bts-sysmo/misc/sysmobts_par.c @@ -37,7 +37,7 @@ #include "sysmobts_par.h" #include "eeprom.h" -#define EEPROM_PATH "/sys/devices/platform/i2c_davinci.1/i2c-1/1-0050/eeprom" +#define EEPROM_PATH "eeprom" static const struct osmo_crc8gen_code crc8_ccit = { .bits = 8, |