ec: add initial soraka related files

For now use the files from poppy. To be changed later on.

BUG=b:36995255
TEST=emerge-soraka chromeos-ec

Change-Id: Iaf0b2a359586dd4cfdba483a6836eefee06f82c1
Reviewed-on: https://chromium-review.googlesource.com/476934
Commit-Ready: YH Lin <yueherngl@chromium.org>
Tested-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
This commit is contained in:
YH Lin
2017-04-13 09:36:09 -07:00
committed by chrome-bot
parent 2b460c9830
commit c9d4c1cd6d
9 changed files with 12 additions and 3 deletions

1
board/soraka/battery.c Symbolic link
View File

@@ -0,0 +1 @@
../poppy/battery.c

1
board/soraka/board.c Symbolic link
View File

@@ -0,0 +1 @@
../poppy/board.c

1
board/soraka/board.h Symbolic link
View File

@@ -0,0 +1 @@
../poppy/board.h

1
board/soraka/build.mk Symbolic link
View File

@@ -0,0 +1 @@
../poppy/build.mk

1
board/soraka/ec.tasklist Symbolic link
View File

@@ -0,0 +1 @@
../poppy/ec.tasklist

1
board/soraka/gpio.inc Symbolic link
View File

@@ -0,0 +1 @@
../poppy/gpio.inc

View File

@@ -0,0 +1 @@
../poppy/usb_pd_policy.c

View File

@@ -231,7 +231,7 @@ void system_check_reset_cause(void)
/* Use scratch bit to check power on reset or VCC1_RST reset */
if (!IS_BIT_SET(NPCX_RSTCTL, NPCX_RSTCTL_VCC1_RST_SCRATCH)) {
#if defined(BOARD_WHEATLEY) || defined(BOARD_EVE) || defined(BOARD_POPPY)
#if defined(BOARD_WHEATLEY) || defined(BOARD_EVE) || defined(BOARD_POPPY) || defined(BOARD_SORAKA)
/* TODO(crosbug.com/p/61028): Remove workaround for Eve */
flags |= RESET_FLAG_RESET_PIN;
#else

View File

@@ -106,8 +106,9 @@ BOARDS_NPCX_SPI=(
eve
gru
kevin
poppy
poppy
reef
soraka
wheatley
kahlee
)
@@ -132,8 +133,9 @@ BOARDS_RAIDEN=(
eve
gru
kevin
poppy
poppy
reef
soraka
)
# Flags