boards: x86: up_squared: move and convert to HWMv2

Move and convert boards/x86/up_squared to HWMv2

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
Dmitrii Golovanov
2024-01-21 17:44:24 +01:00
committed by Jamie McCrae
parent cfd5e691b4
commit 5326b5bfc0
13 changed files with 26 additions and 15 deletions

10
boards/v2/up/index.rst Normal file
View File

@@ -0,0 +1,10 @@
.. _boards-up-board:
UP Bridge the Gap.
##################
.. toctree::
:maxdepth: 1
:glob:
**/*

View File

@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(.)
# Create an EFI image
if(CONFIG_BUILD_OUTPUT_EFI)
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands

View File

@@ -2,9 +2,6 @@
if BOARD_UP_SQUARED
config BOARD
default "up_squared"
config MP_MAX_NUM_CPUS
default 2 if BOARD_UP_SQUARED

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2018-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config BOARD_UP_SQUARED
select SOC_APOLLO_LAKE

View File

@@ -0,0 +1,4 @@
board:
name: up_squared
socs:
- name: apollo_lake

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -29,7 +29,7 @@ Hardware
General information about the board can be found at the `UP Squared`_ website.
.. include:: ../../../../soc/x86/apollo_lake/doc/supported_features.txt
.. include:: ../../../../../soc/v2/intel/apollo_lake/doc/supported_features.txt
GPIO
----
@@ -79,7 +79,7 @@ Build Zephyr application
Booting the UP Squared Board using UEFI
=======================================
.. include:: ../../common/efi_boot.rst
.. include:: ../../../../../boards/x86/common/efi_boot.rst
:start-after: start_include_here
.. note::
@@ -97,7 +97,7 @@ Booting the UP Squared Board using UEFI
Booting the UP Squared Board over network
=========================================
.. include:: ../../common/net_boot.rst
.. include:: ../../../../../boards/x86/common/net_boot.rst
:start-after: start_include_here
.. note::

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_APOLLO_LAKE=y
CONFIG_BOARD_UP_SQUARED=y
CONFIG_PIC_DISABLE=y
CONFIG_LOAPIC=y
CONFIG_CONSOLE=y

View File

@@ -1,7 +0,0 @@
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config BOARD_UP_SQUARED
bool "UP Squared (x86_64)"
depends on SOC_APOLLO_LAKE
select X86_64