summaryrefslogtreecommitdiff
path: root/baseboard/guybrush/build.mk
Commit message (Collapse)AuthorAgeFilesLines
* config: Rename CONFIG_CROS_BOARD_INFOPhilip Chen2021-06-161-1/+1
| | | | | | | | | | | | | | | | | | Rename CONFIG_CROS_BOARD_INFO to CONFIG_CBI_EEPROM to make it clear that the information comes from on-board EEPROM. It sets up the groundwork for adding more options of CBI sources later. BRANCH=None BUG=b:186264627 TEST=make buildall -j Signed-off-by: Philip Chen <philipchen@google.com> Change-Id: I9a6feee0a8b35bbf29e445544243485507767ad8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2945792 Reviewed-by: Philip Chen <philipchen@chromium.org> Commit-Queue: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org>
* guybrush: Add CBI utility functionsRob Barnes2021-05-211-1/+2
| | | | | | | | | | | | | | | | | Add CBI utility functions. All values are cached. cbi_init prints the values and initializes the cache. Each function will also opportunistically initialize the cache in case it's accessed before cbi_init. BUG=None TEST=Boot guybrush, see CBI values printed BRANCH=None Signed-off-by: Rob Barnes <robbarnes@google.com> Change-Id: I3e21a6792f4f0897019872201b2392f634c134ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2906313 Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
* guybrush: USB and charger configurationRob Barnes2021-01-081-0/+1
| | | | | | | | | | | | | | | | Minimal USB, charger and battery configuration. Stubs still need to be implemented. BUG=b:175400400 BRANCH=None TEST=Build Change-Id: I83a5e3e248094e4438bcd2df48664345614a6349 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2593363 Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* guybrush: Fill in gpio.inc for guybrushRob Barnes2020-12-111-0/+1
| | | | | | | | | | | | | | Fill in guybrush gpio.inc based on schematic. Add minimal implementation required to get guybrush to build with gpio.inc filled in. BUG=b:175056466 TEST=Build guybrush binary BRANCH=None Change-Id: I2f66cebb02e174661950ec277175f63f85896c9c Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2578256 Reviewed-by: Diana Z <dzigterman@chromium.org>
* Guybrush: Move implementation to baseboardRob Barnes2020-12-101-0/+3
| | | | | | | | | | | | | | | | Create a base_gpio.inc and base_ec.tasklist. Move nearly all the implementation to the baseboard. Parts of the implementation can be moved to the boards as needed. BUG=None TEST=Build BRANCH=None Change-Id: I3b6ae7539b152d8078f8ef49d7da143a6283d8d4 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2579647 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
* guybrush: initial EC board setupRob Barnes2020-11-291-0/+9
Create guybrush skeleton build. Minimal configuration required to build. BUG=b:173820614 BRANCH=none TEST=make -j BOARD=guybrush Change-Id: I1e906da42abc565941e6e7e9ca2c79462556ce09 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2552855 Reviewed-by: Edward Hill <ecgh@chromium.org>