Browse Source
Move and convert soc/x86/ia32 to HWMv2. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>pull/69687/head
7 changed files with 16 additions and 4 deletions
@ -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,7 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
config SOC_IA32 |
config SOC_IA32 |
||||||
bool "Generic IA32 SoC" |
|
||||||
select X86 |
select X86 |
||||||
select CPU_ATOM |
select CPU_ATOM |
||||||
select X86_CPU_HAS_MMX |
select X86_CPU_HAS_MMX |
@ -1,13 +1,12 @@ |
|||||||
# Generic PC platform configuration options |
# Generic PC platform configuration options |
||||||
|
|
||||||
# Copyright (c) 2014-2015 Wind River Systems, Inc. |
# Copyright (c) 2014-2015 Wind River Systems, Inc. |
||||||
|
# Copyright (c) 2024 Intel Corporation |
||||||
|
# |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
if SOC_IA32 |
if SOC_IA32 |
||||||
|
|
||||||
config SOC |
|
||||||
default "ia32" |
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC |
config SYS_CLOCK_HW_CYCLES_PER_SEC |
||||||
default 25000000 if HPET_TIMER |
default 25000000 if HPET_TIMER |
||||||
|
|
@ -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 |
Loading…
Reference in new issue