summaryrefslogtreecommitdiff
path: root/board/flapjack
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2019-07-10 19:23:09 +0800
committerCommit Bot <commit-bot@chromium.org>2019-07-30 07:45:24 +0000
commitb99b1b10c3f2070e3fbd8d5cb2d0927f04f642ea (patch)
treee56e7cbb2e431d833435b710acb7470db7e710f8 /board/flapjack
parentf911ddd9d425c2159d21758ba9eb05051180969a (diff)
downloadchrome-ec-b99b1b10c3f2070e3fbd8d5cb2d0927f04f642ea.tar.gz
kukui: add baseboard/kukui
Create a baseboard to reduce the effort of forking and maintaining kukui derivatives. This CL is intended to just moving things around, with minimal changes to make compiler happy, complex logic changes will implement in subsequent CLs. BUG=b:137172860 TEST=build and deploy on a Krane BRANCH=master Change-Id: Ifd3ad5c3b03dce101cd15cbcec304f5e3a1081ac Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1695562 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/flapjack')
-rw-r--r--[l---------]board/flapjack/build.mk19
l---------board/flapjack/emmc.c2
2 files changed, 19 insertions, 2 deletions
diff --git a/board/flapjack/build.mk b/board/flapjack/build.mk
index 2bba642999..5c408de94a 120000..100644
--- a/board/flapjack/build.mk
+++ b/board/flapjack/build.mk
@@ -1 +1,18 @@
-../kukui/build.mk \ No newline at end of file
+# -*- makefile -*-
+# Copyright 2018 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.
+#
+# Board specific files build
+#
+#
+# STmicro STM32F098VC
+CHIP:=stm32
+CHIP_FAMILY:=stm32f0
+CHIP_VARIANT:=stm32f09x
+
+board-y=battery.o board.o usb_pd_policy.o led.o
+board-$(CONFIG_BOOTBLOCK)+=emmc.o
+board-$(BOARD_KRANE)+=base_detect_krane.o
+
+$(out)/RO/board/$(BOARD)/emmc.o: $(out)/bootblock_data.h
diff --git a/board/flapjack/emmc.c b/board/flapjack/emmc.c
index 3464933875..a97e912173 120000
--- a/board/flapjack/emmc.c
+++ b/board/flapjack/emmc.c
@@ -1 +1 @@
-../kukui/emmc.c \ No newline at end of file
+../../baseboard/kukui/emmc.c \ No newline at end of file