Skip to content

Integrate u-boot-seco-imx/seco-eeprom

GitBot requested to merge u-boot-seco-imx/seco-eeprom into kirkstone

Commit: edgehog/bsp/nxp/u-boot-seco-imx@7d5e692e

[iMX8QXP][C57] Enabling I2C Eeprom driver and new version of Eeprom manager

Seco Eeprom Manager interduces:

  1. 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
  1. Management of some UIDs previously not considered
  • UID_PANEL_ID
  • UID_PANEL_ORIENTATION
  1. 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);

Merge request reports