summaryrefslogtreecommitdiff
path: root/third_party/bmi260/accelgyro_bmi260_config_tbin.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-07-19 16:58:40 -0600
committerCommit Bot <commit-bot@chromium.org>2020-08-20 20:16:18 +0000
commit06f584a8b508e881680c222498702f5148330a3f (patch)
tree268348c95a6cf27ab970ec3cce273c4b7a8b1e87 /third_party/bmi260/accelgyro_bmi260_config_tbin.h
parent049b77cf3749acf629e9c3c74650e0f92399f64c (diff)
downloadchrome-ec-06f584a8b508e881680c222498702f5148330a3f.tar.gz
bmi260: move BMI260 init file into .init.rom section
Increases Volteer RO and RW flash spaces by 7088 bytes each. This is the net gain after including the init_rom layer. BUG=b:160330682 BRANCH=none TEST=make buildall TEST=On volteer run "ectool motionsense" and "ectool motionsense lid_angle". Verify both RO and RW images. TEST=Program RO image with predecessor CL:2311268. Program this CL into AP firmware image and verify EC software sync updates to RW image. TEST=Verify BMI260 operation with CONFIG_CHIP_INIT_ROM_REGION disabled using volteer_tcpmv1 board. Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I6849b6c9e96756266528b39ab5e53268dce2a13c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311756 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'third_party/bmi260/accelgyro_bmi260_config_tbin.h')
-rw-r--r--third_party/bmi260/accelgyro_bmi260_config_tbin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/bmi260/accelgyro_bmi260_config_tbin.h b/third_party/bmi260/accelgyro_bmi260_config_tbin.h
index f55f399f5c..11a4a90be5 100644
--- a/third_party/bmi260/accelgyro_bmi260_config_tbin.h
+++ b/third_party/bmi260/accelgyro_bmi260_config_tbin.h
@@ -12,7 +12,7 @@
#include "common.h"
-const unsigned char g_bmi260_config_tbin[] = {
+const unsigned char __init_rom g_bmi260_config_tbin[] = {
0xc8, 0x2e, 0x00, 0x2e, 0x80, 0x2e, 0x63, 0xb3, 0xc8, 0x2e, 0x00, 0x2e,
0x80, 0x2e, 0x15, 0x03, 0x80, 0x2e, 0xbb, 0xb4, 0x80, 0x2e, 0x91, 0x03,
0xc8, 0x2e, 0x00, 0x2e, 0x80, 0x2e, 0xe7, 0xb3, 0x50, 0x30, 0x21, 0x2e,