From f1eb49bf1980afe9c195d99911198126ffcf7329 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Sat, 12 Feb 2022 10:50:39 +0800 Subject: futility: updater: explain that match-name quirks are now deprecated The 'match by firmware name' should be deprecated. All new platforms should use quirk instruction files (updater_quirks) from CBFS. BUG=None TEST=None (comments only) BRANCH=None Signed-off-by: Hung-Te Lin Change-Id: Ib66cc903b15bf3fdb44db832a010d80c40bfbaa4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3458024 Reviewed-by: Yu-Ping Wu Reviewed-by: Karthikeyan Ramasubramanian --- futility/updater_quirks.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/futility/updater_quirks.c b/futility/updater_quirks.c index 7a493501..c8140c1d 100644 --- a/futility/updater_quirks.c +++ b/futility/updater_quirks.c @@ -21,6 +21,14 @@ struct quirks_record { const char * const quirks; }; +/* + * The 'match by firmware name' is now deprecated. Please do not add any + * new records below. We now support reading quirks from CBFS, which is + * easier and more reliable. To do that, create a text file 'updater_quirks' + * and install to the CBFS. + * + * Examples: CL:*3365287, CL:*3351831, CL:*4441527 + */ static const struct quirks_record quirks_records[] = { { .match = "Google_Whirlwind.", .quirks = "enlarge_image" }, { .match = "Google_Arkham.", .quirks = "enlarge_image" }, -- cgit v1.2.1