From 64b4c1f5d7554c272884d67d0bf3d0d3d48c77ba Mon Sep 17 00:00:00 2001 From: michael-west Date: Wed, 4 Jan 2017 16:57:53 -0800 Subject: X300: Prevent MB EEPROM Corruption - Load EEPROM data into firmware memory to access from there instead of driving the I2C bus directly - Fixed firmware performance issues by removing the popcntll() function and reducing frequency of background tasks to once every 10ms - Added x300_mb_eeprom_iface to handle cases of devices with older and newer firmware - Added checks for claim to device before driving the I2C bus --- firmware/usrp3/x300/x300_init.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/usrp3/x300/x300_init.h') diff --git a/firmware/usrp3/x300/x300_init.h b/firmware/usrp3/x300/x300_init.h index 324033779..2e93340f6 100644 --- a/firmware/usrp3/x300/x300_init.h +++ b/firmware/usrp3/x300/x300_init.h @@ -4,7 +4,10 @@ #ifndef INCLUDED_B250_INIT_H #define INCLUDED_B250_INIT_H -void x300_init(void); +#include "x300_defs.h" +#include "x300_fw_common.h" + +void x300_init(x300_eeprom_map_t *eeprom_map); void x300_serial_loader_run1(void); -- cgit v1.2.3