Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hwmv2: intel_ish: Port to HMWv2 #68178

Merged
merged 3 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3227,8 +3227,8 @@ Intel Platforms (ISH):
- teburd
- likongintel
files:
- boards/x86/intel_ish/
- soc/x86/intel_ish/
- boards/intel/intel_ish/
- soc/intel/intel_ish/
- dts/x86/intel/intel_ish*
- dts/bindings/*/intel,sedi*
- drivers/*/*sedi*
Expand Down
16 changes: 0 additions & 16 deletions boards/boards_legacy/x86/intel_ish/Kconfig.board

This file was deleted.

22 changes: 0 additions & 22 deletions boards/boards_legacy/x86/intel_ish/Kconfig.defconfig

This file was deleted.

15 changes: 0 additions & 15 deletions boards/boards_legacy/x86/intel_ish/intel_ish_5_4_1_defconfig

This file was deleted.

15 changes: 0 additions & 15 deletions boards/boards_legacy/x86/intel_ish/intel_ish_5_6_0_defconfig

This file was deleted.

15 changes: 0 additions & 15 deletions boards/boards_legacy/x86/intel_ish/intel_ish_5_8_0_defconfig

This file was deleted.

12 changes: 12 additions & 0 deletions boards/intel/intel_ish/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

if TEST
config TEST_EXTRA_STACK_SIZE
default 1024
endif # TEST

config SYS_CLOCK_TICKS_PER_SEC
default 2048 if HPET_TIMER # HPET is 32768 HZ
6 changes: 6 additions & 0 deletions boards/intel/intel_ish/Kconfig.intel_ish_5_4_1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

config BOARD_INTEL_ISH_5_4_1
select SOC_INTEL_ISH_5_4_1
6 changes: 6 additions & 0 deletions boards/intel/intel_ish/Kconfig.intel_ish_5_6_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

config BOARD_INTEL_ISH_5_6_0
select SOC_INTEL_ISH_5_6_0
6 changes: 6 additions & 0 deletions boards/intel/intel_ish/Kconfig.intel_ish_5_8_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

config BOARD_INTEL_ISH_5_8_0
select SOC_INTEL_ISH_5_8_0
16 changes: 16 additions & 0 deletions boards/intel/intel_ish/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
boards:

- name: intel_ish_5_4_1
vendor: intel
socs:
- name: intel_ish_5_4_1

- name: intel_ish_5_6_0
vendor: intel
socs:
- name: intel_ish_5_6_0

- name: intel_ish_5_8_0
vendor: intel
socs:
- name: intel_ish_5_8_0
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Hardware
- Interface-to-Sensor peripherals (I2C, SPI, UART, I3C, GPIO, DMA).
- Inter Process Communications (IPC) to core processor and other IP processors.

.. include:: ../../../../../soc/soc_legacy/x86/intel_ish/doc/supported_features.txt
.. include:: ../../../../soc/intel/intel_ish/doc/supported_features.txt

Programming and Debugging
*************************
Expand Down
10 changes: 10 additions & 0 deletions boards/intel/intel_ish/intel_ish_5_4_1_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

# uart & console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
10 changes: 10 additions & 0 deletions boards/intel/intel_ish/intel_ish_5_6_0_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

# uart & console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
10 changes: 10 additions & 0 deletions boards/intel/intel_ish/intel_ish_5_8_0_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

# uart & console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Intel ISH family configuration options
#
# Copyright (c) 2023 Intel Corporation
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

config SOC_FAMILY_INTEL_ISH
kwd-doodling marked this conversation as resolved.
Show resolved Hide resolved
bool "Intel ISH SoC family"
select X86
select X86_NO_SPECULATIVE_VULNERABILITIES
select IOAPIC
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Intel ISH family default configuration options
#
# Copyright (c) 2023 Intel Corporation
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

Expand All @@ -9,10 +9,6 @@ if SOC_FAMILY_INTEL_ISH
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 32768 if HPET_TIMER

config SOC_FAMILY
string
default "intel_ish"

config X86_VERY_EARLY_CONSOLE
default n

Expand All @@ -25,6 +21,6 @@ config SRAM_OFFSET
config X86_PC_COMPATIBLE
default n

endif # SOC_FAMILY_INTEL_ISH

rsource "*/Kconfig.defconfig.series"

endif # SOC_FAMILY_INTEL_ISH
13 changes: 13 additions & 0 deletions soc/intel/intel_ish/Kconfig.soc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Intel ISH family selection
#
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

config SOC_FAMILY_INTEL_ISH
bool

config SOC_FAMILY
default "intel_ish" if SOC_FAMILY_INTEL_ISH

kwd-doodling marked this conversation as resolved.
Show resolved Hide resolved
rsource "*/Kconfig.soc"
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Copyright (c) 2023 Intel Corporation
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

zephyr_include_directories(.)

zephyr_cc_option(-march=pentium -mtune=i486)

zephyr_sources(soc.c)
Expand Down
10 changes: 10 additions & 0 deletions soc/intel/intel_ish/intel_ish5/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

if SOC_SERIES_INTEL_ISH5

rsource "pm/Kconfig.pm"

endif # SOC_SERIES_INTEL_ISH5
27 changes: 27 additions & 0 deletions soc/intel/intel_ish/intel_ish5/Kconfig.soc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (c) 2023-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

config SOC_SERIES_INTEL_ISH5
bool
select SOC_FAMILY_INTEL_ISH

config SOC_SERIES
default "intel_ish5" if SOC_SERIES_INTEL_ISH5

config SOC_INTEL_ISH_5_4_1
kwd-doodling marked this conversation as resolved.
Show resolved Hide resolved
bool
select SOC_SERIES_INTEL_ISH5

config SOC_INTEL_ISH_5_6_0
bool
select SOC_SERIES_INTEL_ISH5

config SOC_INTEL_ISH_5_8_0
bool
select SOC_SERIES_INTEL_ISH5

config SOC
default "intel_ish_5_4_1" if SOC_INTEL_ISH_5_4_1
default "intel_ish_5_6_0" if SOC_INTEL_ISH_5_6_0
default "intel_ish_5_8_0" if SOC_INTEL_ISH_5_8_0
8 changes: 8 additions & 0 deletions soc/intel/intel_ish/soc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
family:
- name: intel_ish
series:
- name: intel_ish5
socs:
- name: intel_ish_5_4_1
- name: intel_ish_5_6_0
- name: intel_ish_5_8_0
8 changes: 0 additions & 8 deletions soc/soc_legacy/x86/intel_ish/Kconfig.soc

This file was deleted.

20 changes: 0 additions & 20 deletions soc/soc_legacy/x86/intel_ish/intel_ish5/Kconfig.defconfig.series

This file was deleted.

8 changes: 0 additions & 8 deletions soc/soc_legacy/x86/intel_ish/intel_ish5/Kconfig.series

This file was deleted.

19 changes: 0 additions & 19 deletions soc/soc_legacy/x86/intel_ish/intel_ish5/Kconfig.soc

This file was deleted.

Loading