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>
This commit is contained in:
Dmitrii Golovanov
2024-02-05 12:09:16 +01:00
committed by Jamie McCrae
parent 03042b7704
commit 237fdff918
7 changed files with 17 additions and 7 deletions

View File

@@ -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 "")

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

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