From 220406cad77e7941b3b0912129c9b9a57e10bfbd Mon Sep 17 00:00:00 2001 From: Henrique Silva Date: Thu, 3 May 2018 13:17:22 -0300 Subject: [PATCH] [modules/fru.c] Force initial read to EEPROM We can't start the EEPROM structure with the runtime flag as true, because it'll make the firware believe it has already tried to read it. --- modules/fru.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/fru.c b/modules/fru.c index b6b3b5fd8..2a1cc93e4 100644 --- a/modules/fru.c +++ b/modules/fru.c @@ -42,7 +42,7 @@ fru_data_t fru[FRU_COUNT] = { .read_f = at24mac_read, .write_f = at24mac_write, }, - .runtime = true + .runtime = false }, #ifdef MODULE_RTM [FRU_RTM] = { @@ -52,7 +52,7 @@ fru_data_t fru[FRU_COUNT] = { .read_f = eeprom_24xx64_read, .write_f = eeprom_24xx64_write, }, - .runtime = true + .runtime = false } #endif };