diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-11-22 14:13:00 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-23 22:11:45 +0000 |
commit | aec4e7f6221c0d34f63a63b23f7bd7660b91460a (patch) | |
tree | 120357273434458dfd9ec2cde0235a4dccb8bf5a /baseboard | |
parent | e04250319d222ef8505d9111ba4f03eddcaf5521 (diff) | |
download | chrome-ec-aec4e7f6221c0d34f63a63b23f7bd7660b91460a.tar.gz |
baseboard: Remove unused externs
The symbols zork_base_standard_ref and grunt_base_standard_ref are never
actually defined or used anywhere.
BRANCH=None
BUG=b:247100970
TEST=zmake build -a
TEST=./twister --clobber -v -i
TEST=make -j$(nproc) buildall_only runtests
TEST=zmake compare-builds
Change-Id: I1425ceb38f1de45e50c98f86f4df4221602120e0
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4049881
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Simon Glass <sjg@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/grunt/baseboard.h | 18 | ||||
-rw-r--r-- | baseboard/zork/baseboard.h | 18 |
2 files changed, 0 insertions, 36 deletions
diff --git a/baseboard/grunt/baseboard.h b/baseboard/grunt/baseboard.h index e385b11b86..b9ddd32861 100644 --- a/baseboard/grunt/baseboard.h +++ b/baseboard/grunt/baseboard.h @@ -191,7 +191,6 @@ #ifndef __ASSEMBLER__ #include "gpio_signal.h" -#include "math_util.h" #include "registers.h" enum adc_channel { @@ -225,23 +224,6 @@ enum sensor_id { SENSOR_COUNT, }; -/* - * Matrix to rotate accelerators into the standard reference frame. The default - * is the identity which is correct for the reference design. Variations of - * Grunt may need to change it for manufacturability. - * For the lid: - * +x to the right - * +y up - * +z out of the page - * - * The principle axes of the body are aligned with the lid when the lid is in - * the 180 degree position (open, flat). - * - * Boards within the Grunt family may need to modify this definition at - * board_init() time. - */ -extern mat33_fp_t grunt_base_standard_ref; - /* Sensors without hardware FIFO are in forced mode */ #define CONFIG_ACCEL_FORCE_MODE_MASK (1 << LID_ACCEL) diff --git a/baseboard/zork/baseboard.h b/baseboard/zork/baseboard.h index 528aa44a91..5af8f254a0 100644 --- a/baseboard/zork/baseboard.h +++ b/baseboard/zork/baseboard.h @@ -291,7 +291,6 @@ #ifndef __ASSEMBLER__ #include "gpio_signal.h" -#include "math_util.h" #include "registers.h" enum power_signal { @@ -319,23 +318,6 @@ enum sensor_id { SENSOR_COUNT, }; -/* - * Matrix to rotate accelerators into the standard reference frame. The default - * is the identity which is correct for the reference design. Variations of - * Zork may need to change it for manufacturability. - * For the lid: - * +x to the right - * +y up - * +z out of the page - * - * The principle axes of the body are aligned with the lid when the lid is in - * the 180 degree position (open, flat). - * - * Boards within the Zork family may need to modify this definition at - * board_init() time. - */ -extern mat33_fp_t zork_base_standard_ref; - extern const struct thermistor_info thermistor_info; /* Sensors without hardware FIFO are in forced mode */ |