diff options
author | Lijian Zhao <lijian.zhao@intel.com> | 2018-02-08 12:57:01 -0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-02-09 23:17:00 +0000 |
commit | 2db6fbc47b1070a40f5c9b00f6ac9957ca8a4199 (patch) | |
tree | 30534ab799654caac8ce95e29490b19434e07314 /src/mainboard/amd | |
parent | 6ee716e863117246d453e573d1a128da28b62cb7 (diff) |
chromeec: Fix ACPI compile warning
For system without secondary battery, current DSDT will report warning
during build time. Add a conditional check to make sure only battery
index 0 can return success.
TEST=Build pass.
Change-Id: Iae12c5d1aa749948ef4025c8b5e60c97e1b747a5
Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/23661
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/amd')
0 files changed, 0 insertions, 0 deletions