aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-06-15 09:31:13 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-07-02 10:51:58 +0200
commitf4cefcfb15003aeb43fd284ce94c4cbbbf7f4b94 (patch)
treec05d9b891dd474c552643fbe5c9773a02716a811 /src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
parent5646fc1be9cb636c1b4771d9a21a18ccacd59c5f (diff)
sysmobts: Add the barebox boot state reservation
We are using up to 48 (actually only 8) bytes to manage the boot state of the device. Add it to the eeprom reservation. It turns out the current padding was too large (37 + 84 don't end at 120). Change-Id: I8354a05afcf3cb5f4fa1660cec78b6cbe26f9168
Diffstat (limited to 'src/osmo-bts-sysmo/misc/sysmobts_eeprom.h')
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_eeprom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h b/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
index e9828a1c..ecb86e1e 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
+++ b/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
@@ -15,7 +15,8 @@ struct sysmobts_eeprom { /* offset */
uint16_t model_nr; /* 32-33 */
uint16_t model_flags; /* 34-35 */
uint8_t trx_nr; /* 36 */
- uint8_t _pad1[84]; /* 37-120 */
+ uint8_t boot_state[48]; /* 37-84 */
+ uint8_t _pad1[35]; /* 85-120 */
uint8_t gpg_key[128]; /* 121-249 */
} __attribute__((packed));