Integrate u-boot-seco-imx/seco-eeprom
[iMX8QXP][C57] Enabling I2C Eeprom driver and new version of Eeprom manager
Seco Eeprom Manager interduces:
- Initialization function, seco_eeprom_init(...), where
- read_raw_data(...): the whole eeprom is read and stored in memory
- check_header(...) and check_crc(...): version and CRC are checked
- populate_uids(...): the content is then stored and the various fields prepared for use
- Management of some UIDs previously not considered
- UID_PANEL_ID
- UID_PANEL_ORIENTATION
- Introduction of new exported functions int seco_eeprom_init(u8 i2c_bus_number, u8 i2c_addr); int seco_eeprom_get_macaddr(u8 *mac_addr); int seco_eeprom_get_panel_id(u8 *panel); int seco_eeprom_get_orientation(u8 *orientation); int seco_eeprom_print_all(void);