mcc: Reuse existing T6000 impl for T6020

Signed-off-by: Mario Hros <git@reversity.org>
This commit is contained in:
Mario Hros 2023-02-06 23:22:35 +01:00 committed by Hector Martin
parent 693ebbae2b
commit 2f96635420

View file

@ -264,6 +264,8 @@ int mcc_init(void)
return mcc_init_t8103(node, path);
} else if (adt_is_compatible(adt, node, "mcc,t6000")) {
return mcc_init_t6000(node, path);
} else if (adt_is_compatible(adt, node, "mcc,t6020")) {
return mcc_init_t6000(node, path);
} else {
printf("MCC: Unsupported version\n");
return -1;