#!/bin/sh | |
# Copyright 2015 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# PROTECT: 0 or 1 | |
# 0 means to keep un-protected (for firmware update test only); | |
# 1 means to set battery interface to be protected | |
# after finishing update battery firmware. | |
PROTECT=1 | |
# DEBUG: 0 or 1 ; 0 means disable debug; 1 means enable debug; | |
DEBUG=1 | |
ec_sb_firmware_update "${PROTECT}" "${DEBUG}" |