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:
committed by
Jamie McCrae
parent
03042b7704
commit
237fdff918
@@ -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 "")
|
||||
@@ -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
|
||||
@@ -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
Normal file
8
soc/intel/lakemont/Kconfig.soc
Normal 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
|
||||
4
soc/intel/lakemont/soc.yml
Normal file
4
soc/intel/lakemont/soc.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
vendor: intel
|
||||
comment: "Intel Lakemont SoC"
|
||||
socs:
|
||||
- name: lakemont
|
||||
Reference in New Issue
Block a user