hwid: Use sorted list instead of set to derive encoded field index.
We now have boards that have multiple same components. We should use sorted
list instead of set to identify multiple occurrences of a component.
Signed-off-by: Ricky Liang <email@example.com>
Reviewed-by: Chun-ta Lin <firstname.lastname@example.org>
Reviewed-by: Hung-Te Lin <email@example.com>
1 file changed