boards: x86: intel_adl: move and convert alder_lake boards to HWMv2
Move and convert intel_adl_crb and intel_adl_rvp boards to HWMv2. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
committed by
Jamie McCrae
parent
847a12f1e4
commit
83b133c207
10
boards/v2/intel/index.rst
Normal file
10
boards/v2/intel/index.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
.. _boards-intel:
|
||||
|
||||
Intel Corporation
|
||||
#################
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Create an EFI image
|
||||
if(CONFIG_BUILD_OUTPUT_EFI)
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
@@ -1,13 +1,6 @@
|
||||
# Copyright (c) 2023 Intel Corporation
|
||||
# Copyright (c) 2023-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP || BOARD_UP_SQUARED_PRO_7000
|
||||
|
||||
config BOARD
|
||||
default "intel_adl_crb" if BOARD_INTEL_ADL_CRB
|
||||
default "intel_adl_rvp" if BOARD_INTEL_ADL_RVP
|
||||
default "up_squared_pro_7000" if BOARD_UP_SQUARED_PRO_7000
|
||||
|
||||
config BUILD_OUTPUT_STRIPPED
|
||||
default y
|
||||
|
||||
@@ -56,4 +49,5 @@ endif
|
||||
config UART_NS16550_INTEL_LPSS_DMA
|
||||
default y
|
||||
|
||||
endif # BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP || BOARD_UP_SQUARED_PRO_7000
|
||||
config HAS_COVERAGE_SUPPORT
|
||||
default y
|
||||
5
boards/v2/intel/intel_adl/Kconfig.intel_adl_crb
Normal file
5
boards/v2/intel/intel_adl/Kconfig.intel_adl_crb
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2023-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_INTEL_ADL_CRB
|
||||
select SOC_ALDER_LAKE
|
||||
5
boards/v2/intel/intel_adl/Kconfig.intel_adl_rvp
Normal file
5
boards/v2/intel/intel_adl/Kconfig.intel_adl_rvp
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2023-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_INTEL_ADL_RVP
|
||||
select SOC_ALDER_LAKE
|
||||
4
boards/v2/intel/intel_adl/board.cmake
Normal file
4
boards/v2/intel/intel_adl/board.cmake
Normal file
@@ -0,0 +1,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
board_set_flasher_ifnset(misc-flasher)
|
||||
board_finalize_runner_args(misc-flasher)
|
||||
9
boards/v2/intel/intel_adl/board.yml
Normal file
9
boards/v2/intel/intel_adl/board.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
boards:
|
||||
- name: intel_adl_crb
|
||||
vendor: intel
|
||||
socs:
|
||||
- name: alder_lake
|
||||
- name: intel_adl_rvp
|
||||
vendor: intel
|
||||
socs:
|
||||
- name: alder_lake
|
||||
@@ -59,7 +59,7 @@ Build Zephyr application
|
||||
Booting the Alder Lake N CRB Board using UEFI
|
||||
=============================================
|
||||
|
||||
.. include:: ../../common/efi_boot.rst
|
||||
.. include:: ../../../../../boards/x86/common/efi_boot.rst
|
||||
:start-after: start_include_here
|
||||
|
||||
.. _INTEL_ADL: https://edc.intel.com/content/www/us/en/design/products/platforms/processor-and-core-i3-n-series-datasheet-volume-1-of-2/
|
||||
@@ -1,7 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_ALDER_LAKE=y
|
||||
CONFIG_BOARD_INTEL_ADL_CRB=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_CONSOLE=y
|
||||
@@ -1,7 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_ALDER_LAKE=y
|
||||
CONFIG_BOARD_INTEL_ADL_RVP=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_CONSOLE=y
|
||||
@@ -1,18 +1,6 @@
|
||||
# Copyright (c) 2023 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_INTEL_ADL_CRB
|
||||
bool "Alder Lake CRB"
|
||||
depends on SOC_ALDER_LAKE
|
||||
select X86_64
|
||||
select HAS_COVERAGE_SUPPORT
|
||||
|
||||
config BOARD_INTEL_ADL_RVP
|
||||
bool "Alder Lake RVP"
|
||||
depends on SOC_ALDER_LAKE
|
||||
select X86_64
|
||||
select HAS_COVERAGE_SUPPORT
|
||||
|
||||
config BOARD_UP_SQUARED_PRO_7000
|
||||
bool "UP SQUARED PRO 7000 board"
|
||||
depends on SOC_ALDER_LAKE
|
||||
|
||||
Reference in New Issue
Block a user