soc: x86: ia32: move and convert to HWMv2

Move and convert soc/x86/ia32 to HWMv2.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
Dmitrii Golovanov
2024-02-05 12:15:01 +01:00
committed by Jamie McCrae
parent 237fdff918
commit cab924cbfb
7 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(.)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")

View File

@@ -1,7 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
config SOC_IA32
bool "Generic IA32 SoC"
select X86
select CPU_ATOM
select X86_CPU_HAS_MMX

View File

@@ -1,13 +1,12 @@
# Generic PC platform configuration options
# Copyright (c) 2014-2015 Wind River Systems, Inc.
# Copyright (c) 2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
if SOC_IA32
config SOC
default "ia32"
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 25000000 if HPET_TIMER

9
soc/ia32/Kconfig.soc Normal file
View File

@@ -0,0 +1,9 @@
# Copyright (c) 2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
config SOC_IA32
bool
config SOC
default "ia32" if SOC_IA32

3
soc/ia32/soc.yml Normal file
View File

@@ -0,0 +1,3 @@
comment: "Generic IA32 SoC"
socs:
- name: ia32