summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYH Lin <yueherngl@google.com>2017-04-13 09:36:09 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-04-15 09:19:57 -0700
commitc9d4c1cd6dd1082bd8ae7b2997cb4516315d648d (patch)
tree6eda97546386b96fbc5614e9fd110c37bf7d21a7
parent2b460c9830670070152a4509ab38b24aa80ed304 (diff)
downloadchrome-ec-c9d4c1cd6dd1082bd8ae7b2997cb4516315d648d.tar.gz
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>
l---------board/soraka/battery.c1
l---------board/soraka/board.c1
l---------board/soraka/board.h1
l---------board/soraka/build.mk1
l---------board/soraka/ec.tasklist1
l---------board/soraka/gpio.inc1
l---------board/soraka/usb_pd_policy.c1
-rw-r--r--chip/npcx/system.c2
-rwxr-xr-xutil/flash_ec6
9 files changed, 12 insertions, 3 deletions
diff --git a/board/soraka/battery.c b/board/soraka/battery.c
new file mode 120000
index 0000000000..50355ce837
--- /dev/null
+++ b/board/soraka/battery.c
@@ -0,0 +1 @@
+../poppy/battery.c \ No newline at end of file
diff --git a/board/soraka/board.c b/board/soraka/board.c
new file mode 120000
index 0000000000..94825835d1
--- /dev/null
+++ b/board/soraka/board.c
@@ -0,0 +1 @@
+../poppy/board.c \ No newline at end of file
diff --git a/board/soraka/board.h b/board/soraka/board.h
new file mode 120000
index 0000000000..2082cb68fd
--- /dev/null
+++ b/board/soraka/board.h
@@ -0,0 +1 @@
+../poppy/board.h \ No newline at end of file
diff --git a/board/soraka/build.mk b/board/soraka/build.mk
new file mode 120000
index 0000000000..2c4cff2287
--- /dev/null
+++ b/board/soraka/build.mk
@@ -0,0 +1 @@
+../poppy/build.mk \ No newline at end of file
diff --git a/board/soraka/ec.tasklist b/board/soraka/ec.tasklist
new file mode 120000
index 0000000000..981041b90d
--- /dev/null
+++ b/board/soraka/ec.tasklist
@@ -0,0 +1 @@
+../poppy/ec.tasklist \ No newline at end of file
diff --git a/board/soraka/gpio.inc b/board/soraka/gpio.inc
new file mode 120000
index 0000000000..4945b2f187
--- /dev/null
+++ b/board/soraka/gpio.inc
@@ -0,0 +1 @@
+../poppy/gpio.inc \ No newline at end of file
diff --git a/board/soraka/usb_pd_policy.c b/board/soraka/usb_pd_policy.c
new file mode 120000
index 0000000000..a904bf6342
--- /dev/null
+++ b/board/soraka/usb_pd_policy.c
@@ -0,0 +1 @@
+../poppy/usb_pd_policy.c \ No newline at end of file
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index 156075e278..4a8b5e65f4 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -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
diff --git a/util/flash_ec b/util/flash_ec
index 069eec8da3..c6acacbb54 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -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