summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-11-04 14:05:14 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-09 12:49:36 -0800
commit7b69a258f6fedd507d4838457885c6331c106048 (patch)
tree38c37633de02c0b56f788440e108b2186c6b695d
parent75f740fa231703b7000fdfbee8f7225214c1a7ff (diff)
downloadchrome-ec-7b69a258f6fedd507d4838457885c6331c106048.tar.gz
common: acpi: Add items to .bss.slow.
BUG=chrome-os-partner:46056 BUG=chrome-os-partner:46063 BRANCH=None TEST=Enabled CONFIG_REPLACE_LOADER_WITH_BSS_SLOW on GLaDOS; Build and flash; Verify that AP and EC boot. Verify that AC notifications are sent to the AP. Verify that I can set temperature thresholds. TEST='sysjump rw' and repeat above tests. TEST=make -j buildall tests CQ-DEPEND=CL:311209 Change-Id: If2a7b0ce08b37e30362ab77eee1317c8a86b90dd Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/311344 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--common/acpi.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/common/acpi.c b/common/acpi.c
index e12c4e2d18..904c6fe055 100644
--- a/common/acpi.c
+++ b/common/acpi.c
@@ -20,14 +20,18 @@
#define CPRINTF(format, args...) cprintf(CC_LPC, format, ## args)
#define CPRINTS(format, args...) cprints(CC_LPC, format, ## args)
-static uint8_t acpi_cmd; /* Last received ACPI command */
-static uint8_t acpi_addr; /* First byte of data after ACPI command */
-static int acpi_data_count; /* Number of data writes after command */
-static uint8_t acpi_mem_test; /* Test byte in ACPI memory space */
+/* Last received ACPI command */
+static uint8_t __bss_slow acpi_cmd;
+/* First byte of data after ACPI command */
+static uint8_t __bss_slow acpi_addr;
+/* Number of data writes after command */
+static int __bss_slow acpi_data_count;
+/* Test byte in ACPI memory space */
+static uint8_t __bss_slow acpi_mem_test;
#ifdef CONFIG_TEMP_SENSOR
-static int dptf_temp_sensor_id; /* last sensor ID written */
-static int dptf_temp_threshold; /* last threshold written */
+static int __bss_slow dptf_temp_sensor_id; /* last sensor ID written */
+static int __bss_slow dptf_temp_threshold; /* last threshold written */
#endif
/*