mirror of
https://github.com/edk2-porting/edk2-rk3588.git
synced 2025-06-03 06:30:23 +00:00
86 lines
3.4 KiB
Plaintext
86 lines
3.4 KiB
Plaintext
## @file
|
|
#
|
|
# Copyright (c) 2014-2018, Linaro Limited. All rights reserved.
|
|
# Copyright (c) 2022, Xilin Wu <wuxilin123@gmail.com>
|
|
# Copyright (c) 2023, Jianfeng Liu <liujianfeng1994@gmail.com>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
################################################################################
|
|
#
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
#
|
|
################################################################################
|
|
[Defines]
|
|
PLATFORM_NAME = H88K
|
|
PLATFORM_VENDOR = Hinlink
|
|
PLATFORM_GUID = 5ecd3024-77d5-47a2-8293-a963ac878d48
|
|
PLATFORM_VERSION = 0.2
|
|
DSC_SPECIFICATION = 0x00010019
|
|
OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
|
|
VENDOR_DIRECTORY = Platform/$(PLATFORM_VENDOR)
|
|
PLATFORM_DIRECTORY = $(VENDOR_DIRECTORY)/$(PLATFORM_NAME)
|
|
SUPPORTED_ARCHITECTURES = AARCH64
|
|
BUILD_TARGETS = DEBUG|RELEASE
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
FLASH_DEFINITION = Silicon/Rockchip/RK3588/RK3588.fdf
|
|
RK_PLATFORM_FVMAIN_MODULES = $(PLATFORM_DIRECTORY)/$(PLATFORM_NAME).Modules.fdf.inc
|
|
|
|
#
|
|
# RK3588-based platform
|
|
#
|
|
!include Silicon/Rockchip/RK3588/RK3588Platform.dsc.inc
|
|
|
|
################################################################################
|
|
#
|
|
# Library Class section - list of all Library Classes needed by this Platform.
|
|
#
|
|
################################################################################
|
|
|
|
[LibraryClasses.common]
|
|
RockchipPlatformLib|$(PLATFORM_DIRECTORY)/Library/RockchipPlatformLib/RockchipPlatformLib.inf
|
|
|
|
################################################################################
|
|
#
|
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
|
|
#
|
|
################################################################################
|
|
|
|
[PcdsFixedAtBuild.common]
|
|
# SMBIOS platform config
|
|
gRockchipTokenSpaceGuid.PcdPlatformName|"H88K"
|
|
gRockchipTokenSpaceGuid.PcdPlatformVendorName|"Hinlink"
|
|
gRockchipTokenSpaceGuid.PcdFamilyName|"H88K"
|
|
gRockchipTokenSpaceGuid.PcdProductUrl|"http://www.hinlink.com/"
|
|
|
|
#
|
|
# CPU Performance default values
|
|
#
|
|
gRK3588TokenSpaceGuid.PcdCPULClusterClockPresetDefault|$(CPU_PERF_CLUSTER_CLOCK_PRESET_BOOTDEFAULT)
|
|
gRK3588TokenSpaceGuid.PcdCPUB01ClusterClockPresetDefault|$(CPU_PERF_CLUSTER_CLOCK_PRESET_BOOTDEFAULT)
|
|
gRK3588TokenSpaceGuid.PcdCPUB23ClusterClockPresetDefault|$(CPU_PERF_CLUSTER_CLOCK_PRESET_BOOTDEFAULT)
|
|
|
|
#
|
|
# PCIe/SATA/USB Combo PIPE PHY support flags and default values
|
|
#
|
|
gRK3588TokenSpaceGuid.PcdComboPhy0Switchable|TRUE
|
|
gRK3588TokenSpaceGuid.PcdComboPhy1Switchable|FALSE
|
|
gRK3588TokenSpaceGuid.PcdComboPhy2Switchable|FALSE
|
|
gRK3588TokenSpaceGuid.PcdComboPhy0ModeDefault|$(COMBO_PHY_MODE_PCIE)
|
|
gRK3588TokenSpaceGuid.PcdComboPhy1ModeDefault|$(COMBO_PHY_MODE_PCIE)
|
|
gRK3588TokenSpaceGuid.PcdComboPhy2ModeDefault|$(COMBO_PHY_MODE_PCIE)
|
|
|
|
################################################################################
|
|
#
|
|
# Components Section - list of all EDK II Modules needed by this Platform.
|
|
#
|
|
################################################################################
|
|
[Components.common]
|
|
# ACPI Support
|
|
$(PLATFORM_DIRECTORY)/AcpiTables/AcpiTables.inf
|
|
|
|
# Splash screen logo
|
|
$(VENDOR_DIRECTORY)/Drivers/LogoDxe/LogoDxe.inf
|