boards: Convert google_kukui to HWM v2
Port the board to HWMv2. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
committed by
Jamie McCrae
parent
ac020f66e0
commit
8980430aad
@@ -1,14 +0,0 @@
|
||||
# Google Kukui EC
|
||||
|
||||
# Copyright 2019 The Chromium OS Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_GOOGLE_KUKUI
|
||||
bool "Google Kukui EC"
|
||||
depends on SOC_STM32F098XX
|
||||
help
|
||||
This is the EC (Embedded Controller) inside a Lenovo Chromebook
|
||||
Duet and 10e Chromebook Tablet. The EC handles battery charging,
|
||||
keyboard scanning, USB Power Delivery and sensors.
|
||||
|
||||
So far for Zephyr only a simple serial console and I2C are supported.
|
||||
@@ -1,11 +0,0 @@
|
||||
# Google Kukui EC
|
||||
|
||||
# Copyright 2019 The Chromium OS Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_GOOGLE_KUKUI
|
||||
|
||||
config BOARD
|
||||
default "google_kukui"
|
||||
|
||||
endif # BOARD_GOOGLE_KUKUI
|
||||
5
boards/v2/google/google_kukui/Kconfig.google_kukui
Normal file
5
boards/v2/google/google_kukui/Kconfig.google_kukui
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright 2019 The Chromium OS Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_GOOGLE_KUKUI
|
||||
select SOC_STM32F098XX
|
||||
5
boards/v2/google/google_kukui/board.yml
Normal file
5
boards/v2/google/google_kukui/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: google_kukui
|
||||
vendor: google
|
||||
socs:
|
||||
- name: stm32f098xx
|
||||
@@ -1,12 +1,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Zephyr Kernel Configuration
|
||||
CONFIG_SOC_SERIES_STM32F0X=y
|
||||
|
||||
# Platform Configuration
|
||||
CONFIG_SOC_STM32F098XX=y
|
||||
CONFIG_BOARD_GOOGLE_KUKUI=y
|
||||
|
||||
# Serial Drivers
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
Reference in New Issue
Block a user