summaryrefslogtreecommitdiff
path: root/docs/zephyr_shim.md
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-09-27 20:30:23 +0000
committerCommit Bot <commit-bot@chromium.org>2021-09-28 17:44:57 +0000
commit19420dd91b46de1dce5ef622cbf1e7e3794a4023 (patch)
treeedacdb6ae2d31748b37c197d572f459a766f060d /docs/zephyr_shim.md
parentce0d7699e60405d7b8c6c8cc41f55a280432b2c5 (diff)
downloadchrome-ec-19420dd91b46de1dce5ef622cbf1e7e3794a4023.tar.gz
docs: replace "master" with "HEAD" in URLs
find . -name '*.md' | xargs sed -i 's#refs/heads/master#HEAD#g' find . -name '*.md' | xargs sed -i 's#+/master#+/HEAD#g' BRANCH=none BUG=none TEST=view in gitiles Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Iaac99ddc3463c8c7bb08038214e3eb22951db6a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3188552 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'docs/zephyr_shim.md')
-rw-r--r--docs/zephyr_shim.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/zephyr_shim.md b/docs/zephyr_shim.md
index def71d1d87..fac0383aff 100644
--- a/docs/zephyr_shim.md
+++ b/docs/zephyr_shim.md
@@ -40,7 +40,7 @@ requires us to add some Zephyr specific code in a `zephyr` directory in the
platform/ec for future development and work on migrating the platform/ec-module
code out of the module directory and into a first-class Zephyr code format -- in
the local
-[Chrome Zephyr repo](https://chromium.googlesource.com/chromiumos/platform/zephyr-chrome/+/refs/heads/master)
+[Chrome Zephyr repo](https://chromium.googlesource.com/chromiumos/platform/zephyr-chrome/+/HEAD)
and ultimately [upstream](https://github.com/zephyrproject-rtos/zephyr).
For platform/ec code that is stable and not under active development, the Zephyr
@@ -96,7 +96,7 @@ Add the `src/platform/ec/zephyr` folder with:
expose from platform/ec code to the Zephyr build.
* Shim code to translate platform/ec code into Zephyr code
* For example, redefine platform/ec’s
- [`DECLARE_HOST_COMMAND`](https://source.chromium.org/chromiumos/chromiumos/codesearch/+/master:src/platform/ec/include/host_command.h;l=256;drc=514923bc59f5a3435dbb7cbf348735ed41889ffe)
+ [`DECLARE_HOST_COMMAND`](https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform/ec/include/host_command.h;l=256;drc=514923bc59f5a3435dbb7cbf348735ed41889ffe)
to map to Zephyr's upstream
[`EC_HOST_CMD_HANDLER`](https://github.com/zephyrproject-rtos/zephyr/blob/d7468bf836b75c29980441f294a61eae6bf4bc75/include/ec_host_cmd.h#L73)
macro. This allows us to compile select platform/ec files in the Zephyr