Description
Are there any plans to rebase the FW EC code against the more up to date google EC code ?
I have looked at some of the FW EC code, and some of it is pretty low quality to be honest.
So, my first thought is maybe go through it and improve things but I then looked at the google EC code, and it seems to have already fixed most of the problems.
I compared it to this:
git clone https://chromium.googlesource.com/chromiumos/platform/ec
Now, that is not to say the google code is super high quality. For example, it also has no re-entrant locking around the port80 history ring buffer. it also will not display all port80 values on the console. For example, if 4 port80 values are set in quick succession, it only outputs one of those to the console, thus missing/dropping some.