summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2022-02-12 10:50:39 +0800
committerCommit Bot <commit-bot@chromium.org>2022-02-22 10:02:28 +0000
commitf1eb49bf1980afe9c195d99911198126ffcf7329 (patch)
tree03efb4869a3f2bae9ba567677a4b8ce722a73e78
parent28a7904a2993c3bfc66bcda3c7ed97be725aa2a8 (diff)
downloadvboot-stabilize-14532.B.tar.gz
futility: updater: explain that match-name quirks are now deprecatedstabilize-14532.B
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 <hungte@chromium.org> Change-Id: Ib66cc903b15bf3fdb44db832a010d80c40bfbaa4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3458024 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-by: Karthikeyan Ramasubramanian <kramasub@google.com>
-rw-r--r--futility/updater_quirks.c8
1 files changed, 8 insertions, 0 deletions
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" },