Browse Source

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>
pull/69687/head
Dmitrii Golovanov 1 year ago committed by Jamie McCrae
parent
commit
cab924cbfb
  1. 2
      soc/ia32/CMakeLists.txt
  2. 1
      soc/ia32/Kconfig
  3. 5
      soc/ia32/Kconfig.defconfig
  4. 9
      soc/ia32/Kconfig.soc
  5. 0
      soc/ia32/linker.ld
  6. 0
      soc/ia32/soc.h
  7. 3
      soc/ia32/soc.yml

2
soc/soc_legacy/x86/ia32/CMakeLists.txt → soc/ia32/CMakeLists.txt

@ -1,3 +1,5 @@ @@ -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 "")

1
soc/soc_legacy/x86/ia32/Kconfig.soc → soc/ia32/Kconfig

@ -1,7 +1,6 @@ @@ -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

5
soc/soc_legacy/x86/ia32/Kconfig.defconfig → soc/ia32/Kconfig.defconfig

@ -1,13 +1,12 @@ @@ -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

@ -0,0 +1,9 @@ @@ -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

0
soc/soc_legacy/x86/ia32/linker.ld → soc/ia32/linker.ld

0
soc/soc_legacy/x86/ia32/soc.h → soc/ia32/soc.h

3
soc/ia32/soc.yml

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