Browse Source

soc: x86: atom: move and convert to HWMv2

Move and convert soc/x86/atom 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
70d704bd20
  1. 2
      soc/v2/intel/atom/CMakeLists.txt
  2. 1
      soc/v2/intel/atom/Kconfig
  3. 3
      soc/v2/intel/atom/Kconfig.defconfig
  4. 9
      soc/v2/intel/atom/Kconfig.soc
  5. 0
      soc/v2/intel/atom/linker.ld
  6. 0
      soc/v2/intel/atom/soc.h
  7. 4
      soc/v2/intel/atom/soc.yml

2
soc/x86/atom/CMakeLists.txt → soc/v2/intel/atom/CMakeLists.txt

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

1
soc/x86/atom/Kconfig.soc → soc/v2/intel/atom/Kconfig

@ -1,7 +1,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config SOC_ATOM config SOC_ATOM
bool "Intel ATOM SoC"
select X86 select X86
select CPU_ATOM select CPU_ATOM
select X86_MMU select X86_MMU

3
soc/x86/atom/Kconfig.defconfig → soc/v2/intel/atom/Kconfig.defconfig

@ -5,9 +5,6 @@
if SOC_ATOM if SOC_ATOM
config SOC
default "atom"
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
default 25000000 if HPET_TIMER default 25000000 if HPET_TIMER

9
soc/v2/intel/atom/Kconfig.soc

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

0
soc/x86/atom/linker.ld → soc/v2/intel/atom/linker.ld

0
soc/x86/atom/soc.h → soc/v2/intel/atom/soc.h

4
soc/v2/intel/atom/soc.yml

@ -0,0 +1,4 @@
vendor: intel
comment: "Intel Atom SoC"
socs:
- name: atom
Loading…
Cancel
Save