Skip to content

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

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

Commit: https://git.seco.com/edgehog/bsp/nxp/u-boot-seco-imx/-/commit/7d5e692e07703309fbd66fb0419b0483a80467d9

[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

Loading