Browse Source

soc: x86: lakemont: move and convert to HWMv2

Move and convert soc/x86/lakemont 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
237fdff918
  1. 4
      soc/intel/lakemont/CMakeLists.txt
  2. 3
      soc/intel/lakemont/Kconfig
  3. 5
      soc/intel/lakemont/Kconfig.defconfig
  4. 8
      soc/intel/lakemont/Kconfig.soc
  5. 0
      soc/intel/lakemont/linker.ld
  6. 0
      soc/intel/lakemont/soc.h
  7. 4
      soc/intel/lakemont/soc.yml

4
soc/soc_legacy/x86/lakemont/CMakeLists.txt → soc/intel/lakemont/CMakeLists.txt

@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
# Copyright (c) 2021 Intel Corporation
# Copyright (c) 2021-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(.)
zephyr_cc_option(-march=pentium)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")

3
soc/soc_legacy/x86/lakemont/Kconfig.soc → soc/intel/lakemont/Kconfig

@ -1,9 +1,8 @@ @@ -1,9 +1,8 @@
# Copyright (c) 2021 Intel Corporation
# Copyright (c) 2021-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
config SOC_LAKEMONT
bool "Intel Lakemont SoC"
select X86
select CPU_LAKEMONT
select X86_MMU if FPU

5
soc/soc_legacy/x86/lakemont/Kconfig.defconfig → soc/intel/lakemont/Kconfig.defconfig

@ -1,12 +1,9 @@ @@ -1,12 +1,9 @@
# Copyright (c) 2021 Intel Corporation
# Copyright (c) 2021-2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
if SOC_LAKEMONT
config SOC
default "lakemont"
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 32768

8
soc/intel/lakemont/Kconfig.soc

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# Copyright (c) 2021-2024 Intel Corporation Inc.
# SPDX-License-Identifier: Apache-2.0
config SOC_LAKEMONT
bool
config SOC
default "lakemont" if SOC_LAKEMONT

0
soc/soc_legacy/x86/lakemont/linker.ld → soc/intel/lakemont/linker.ld

0
soc/soc_legacy/x86/lakemont/soc.h → soc/intel/lakemont/soc.h

4
soc/intel/lakemont/soc.yml

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