diff options
author | Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com> | 2021-01-19 10:14:01 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-22 03:06:54 +0000 |
commit | 0a5c0b1060f8cd2a77741b064fd8471930c90059 (patch) | |
tree | f701bc50aea164ec79e9fb4f49a46e7421c536c6 /driver/accelgyro_bmi260.c | |
parent | bcbd95309cd41e68f4ce185093b81a0cc75c7b75 (diff) | |
download | chrome-ec-0a5c0b1060f8cd2a77741b064fd8471930c90059.tar.gz |
No init.rom section support in Zephyr
Building zephyr generates a warning on init.rom section.
This change removes init.rom section declaration in Zephyr build.
The change also added third_party into include folders so files in
third_party now can be included in Zephyr build.
BUG=b:173508071
BRANCH=none
TEST=make BOARD=volteer -j8
build volteer on zephyr
Change-Id: Ic86866e41d87d83c00a06a207a352a25fe57054b
Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2638135
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'driver/accelgyro_bmi260.c')
-rw-r--r-- | driver/accelgyro_bmi260.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/accelgyro_bmi260.c b/driver/accelgyro_bmi260.c index faac2f75a5..573f8ce288 100644 --- a/driver/accelgyro_bmi260.c +++ b/driver/accelgyro_bmi260.c @@ -12,6 +12,7 @@ #include "console.h" #include "accelgyro_bmi_common.h" #include "accelgyro_bmi260.h" +#include "bmi260/accelgyro_bmi260_config_tbin.h" #include "hwtimer.h" #include "i2c.h" #include "init_rom.h" @@ -19,7 +20,6 @@ #include "motion_sense_fifo.h" #include "spi.h" #include "task.h" -#include "third_party/bmi260/accelgyro_bmi260_config_tbin.h" #include "timer.h" #include "util.h" #include "watchdog.h" |