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:
Erwan Gouriou
2024-01-26 16:12:42 +01:00
committed by Jamie McCrae
parent ac020f66e0
commit 8980430aad
9 changed files with 10 additions and 30 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -0,0 +1,5 @@
# Copyright 2019 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
config BOARD_GOOGLE_KUKUI
select SOC_STM32F098XX

View File

@@ -0,0 +1,5 @@
board:
name: google_kukui
vendor: google
socs:
- name: stm32f098xx

View File

@@ -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