flashrom: Fix compilation error

Additional config flags are required due to:
https://crrev.com/c/2438178

BUG=b:170179281
TEST=build and correctly flashes FW on zork

Signed-off-by: Victor Ding <victording@google.com>
Change-Id: I18059db87f8f7bf4ce4893748dbd7ac02b6051b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/standalone-hdctools/+/2547612
Tested-by: Victor Ding <victording@chromium.org>
Auto-Submit: Victor Ding <victording@chromium.org>
Commit-Queue: Victor Ding <victording@chromium.org>
Commit-Queue: David Schneider <dnschneid@chromium.org>
Reviewed-by: David Schneider <dnschneid@chromium.org>
1 file changed
tree: 17267a8872d73b18ab76484b84b67d8170028d7b
  1. flashrom
  2. README.md
  3. servod
README.md

Standalone scripts for hardware debug and control

This is a repository of scripts that enable common hardware debug tasks outside of a Chromium chroot.

When all you need is quick access to servod, flashrom, or others, the wrapper scripts here will get you up and running without the overhead of creating, syncing, or entering a chroot.

Usage

This repo is designed such that you can clone or download the entire repo and run scripts within, or grab and run individual scripts.

Running individual scripts

You can download and run individual scripts without checking out the entire repo:

script=servod
repo='https://chromium.googlesource.com/chromiumos/platform/standalone-hdctools/'
curl -f "${repo}/+/master/${script}?format=TEXT" | base64 -d > "${script}"
"./${script}"

Guidelines

  • Follow the Chromium shell style guidelines.
  • Unless making a symlink, do not assume any other script in the repo is available.
  • With few exceptions, these scripts should download, prepare, and run other Chromium OS tools -- not provide any new functionality.

Making changes

Since this repo isn‘t in the manifest, it won’t show up in your chroot. Instead, to make changes:

git clone https://chromium.googlesource.com/chromiumos/platform/standalone-hdctools
cd standalone-hdctools
curl -Lo .git/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg
chmod +x .git/hooks/commit-msg
git checkout -b changes
# (make some changes)
git commit -a
git push origin HEAD:refs/for/master

The above steps will upload a patch to chromium-review.googlesource.com where you can get your patch reviewed, and submit.