Integrate meta-seco-rk/u-boot-seco-rk/seco_2017.09_next_eeprom_bugfix
requested to merge integrate/meta-seco-rk/u-boot-seco-rk/seco_2017.09_next_eeprom_bugfix/into/kirkstone into kirkstone
Integrate u-boot-seco-rk/seco_2017.09_next_eeprom_bugfix
--
[EEPROM] Fix eeprom management in case of wrong content (unexpected UID lenght)
If during populate_uids anything wrong is detected, it probably means that the content of the eeprom has changed and the CRC has been computed after that, so that CRC is correct but content is not.
In such a case, it is not safe to use any data inside the eeprom.
For the moment, the only case we can consider is that data size is more than the maximum allowed.
--
[EEPROM] Add debug function to debug raw eeprom data
Add debug function to debug raw eeprom data.
--
[EEPROM] Fix missing break in switch
Fix missing break in switch