UPSTREAM: flashchips: Splitting flashchips into separate files by vendor
To make the flashchips "database" easier to manage, split it by vendor
into several smaller files. This commit transfers the bulk of the data
to separate files and includes them from `flashchips.c`. Although this
is ugly (.c includes are usually frowned upon), it is a necessary evil
to make this commit reproducible.
Tested in two ways:
1) Output of `flashrom -L` has no diffs with/without the patch
compared with diff and cmp tools
2) flashrom binary has no diffs with/without the patch
compared with diff and cmp tools
Note for binary comparison documentation and manpages need to be
disabled (documentation is actually modified in the patch), also
version in meson.build set to "none" (otherwise git version counts
every commit).
(cherry picked from commit d07cd9f515f4a854d0d2b3f7eed0915c8889ea9e)
BUG=none
TEST=none
Original-Change-Id: I3a9ebb0575e2700c5871d16875495d9c8943b30b
Original-Co-developed-by: Angel Pons <th3fanbus@gmail.com>
Original-Co-developed-by: Anastasia Klimchuk <aklm@flashrom.org>
Original-Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Original-Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/83307
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Peter Marheine <pmarheine@chromium.org>
GitOrigin-RevId: d07cd9f515f4a854d0d2b3f7eed0915c8889ea9e
Cr-Build-Id: 8728401168522709905
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8728401168522709905
Copybot-Job-Name: flashrom-main-copybot-downstream
Change-Id: I505155101985b9d8721e07bdf5033f63bae4a3e9
Signed-off-by: chromeos-ci-prod <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/6076408
Reviewed-by: Sean Paul <sean@poorly.run>
Reviewed-by: Jian-Jia Su <jjsu@chromium.org>
37 files changed