summaryrefslogtreecommitdiff
path: root/board/fizz/build.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fizz: Set up charge suppliers at bootDaisuke Nojiri2017-05-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Fizz has two power sources: barrel jack and type-c port. It selects a power source at boot and does not dynamicall switch to the other ports after that. Fizz initializes all power suppliers of all ports to zero then initialize the source supplier (barrel jack or type-c port). When both sources are provided, it prefers a barrel jack. This detection is done by reading the voltage on PPVAR_PWR_IN. If barrel jack is detected as a sink, type-c port works as a source only. If type-c port is detected as a sink, type-c port works as a sink only. Fizz does not have a battery. So, battery module is removed. BUG=b:37573548,b:37316498 BRANCH=none TEST=Boot on both type-c & barrel jack. Change-Id: If4f5ff0c6019d06ac9dacb5dd365f5aa96bffef3 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/499547
* Fizz: Add LED controlDaisuke Nojiri2017-05-121-0/+1
| | | | | | | | | | | | | This patch adds code to control the power LED. BUG=b:37646390 BRANCH=none TEST=Verify LED turns green, red, amber, off. Verify LED turns green or off when chipset is on or off, respectively. Change-Id: I1d7940d9bb4414d97c541ead802efeb8f279533e Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/486947
* Fizz: Add Fizz to flash_ecDaisuke Nojiri2017-04-171-1/+1
| | | | | | | | | | | | | This patch also fixes years and board names in the comments. BUG=b:37271713 BRANCH=none TEST=none Change-Id: Ib9595a7e091c70680333a02ba2fdde3f24c0f4e6 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/475210 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
* Fizz: Clone board/poppyDaisuke Nojiri2017-04-171-0/+14
BUG=b:37271713 BRANCH=none TEST=make buildall Change-Id: Id40f125e212067ddbf711a61e2623b92e7c1c4be Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/459112 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>