fit: Add "board-skuX" (without -rev) to allowed compatible strings
commitb3f852fba3cfd4ebde8cd7a34df069ba4cebe7a1
authorJulius Werner <jwerner@chromium.org>
Fri, 3 May 2019 23:58:24 +0000 (3 16:58 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 23 May 2019 08:44:07 +0000 (23 08:44 +0000)
tree83e4d4d96e5aa117415b967d7a064cc79a9e61f8
parent66c77c2dc9b16d3b3522697ea04009aad1c8ba79
fit: Add "board-skuX" (without -rev) to allowed compatible strings

In some cases we may have boards that need to differentiate SKUs but
don't really want to differentiate revisions (at least for some SKUs).
Let's add a compatible string match that includes only the SKU but not
the revision so that kernel DTSes don't have to specify every possible
revision if they want to match this.

This patch was adapted from depthcharge's http://crosreview.com/1512004

Change-Id: Ib88862424b350a213761f5662fe170a1f8fccc7f
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32859
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/lib/fit.c