alder_lake_bios/Intel/AlderLake/AlderLakePlatSamplePkg/Setup/IccSetup.hfr

137 lines
5.0 KiB
Plaintext

/** @file
;******************************************************************************
;* Copyright 2021 Insyde Software Corp. All Rights Reserved.
;*
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
;* transmit, broadcast, present, recite, release, license or otherwise exploit
;* any part of this publication in any form, by any means, without the prior
;* written permission of Insyde Software Corp.
;*
;******************************************************************************
*/
/** @file
@copyright
INTEL CONFIDENTIAL
Copyright 2014 - 2021 Intel Corporation.
The source code contained or described herein and all documents related to the
source code ("Material") are owned by Intel Corporation or its suppliers or
licensors. Title to the Material remains with Intel Corporation or its suppliers
and licensors. The Material may contain trade secrets and proprietary and
confidential information of Intel Corporation and its suppliers and licensors,
and is protected by worldwide copyright and trade secret laws and treaty
provisions. No part of the Material may be used, copied, reproduced, modified,
published, uploaded, posted, transmitted, distributed, or disclosed in any way
without Intel's prior express written permission.
No license under any patent, copyright, trade secret or other intellectual
property right is granted to or conferred upon you by disclosure or delivery
of the Materials, either expressly, by implication, inducement, estoppel or
otherwise. Any license under such intellectual property rights must be
express and approved by Intel in writing.
Unless otherwise agreed by Intel in writing, you may not remove or alter
this notice or any other notice embedded in Materials by Intel or
Intel's suppliers or licensors in any way.
This file contains a 'Sample Driver' and is licensed as such under the terms
of your license agreement with Intel or your vendor. This file may be modified
by the user, subject to the additional terms of the license agreement.
@par Specification
**/
form formid = ICC_FORM_ID,
title = STRING_TOKEN(STR_BCLK_FORM);
oneof varid = SETUP_DATA.BclkSource,
prompt = STRING_TOKEN(STR_BCLK_SOURCE),
help = STRING_TOKEN(STR_BCLK_SOURCE_HELP),
option text = STRING_TOKEN(STR_BCLK_SOURCE_VALUE), value = 1, flags = DEFAULT | RESET_REQUIRED;
endoneof;
SEPARATOR
//
// CPU/PCODE BCLK options
//
SUBTITLE(STRING_TOKEN(STR_CPU_BCLK_TITLE))
text
//[-start-210621-IB16740144-modify]//
//
// W/A for build error in RC2237, It cannot reference STR_EMPTY_STRING.
//
help = STRING_TOKEN(STR_EMPTY),
//[-end-210621-IB16740144-modify]//
text = STRING_TOKEN(STR_BCLK_FREQUENCY_NAME),
text = STRING_TOKEN(STR_BCLK_FREQUENCY_VALUE),
flags = 0,
key = 0;
//[-start-210621-IB16740144-modify]//
//
// W/A for build error in RC2237
// VarCompile: ERROR 2000: Invalid parameter IccAdvancedSetupDataVar variable is incorrect
//
//
// PCH/CSME BCLK options
//
suppressif ideqval SETUP_DATA.BclkSource == 1;
grayoutif ideqval ICC_SETUP_DATA.ShowSpread == DONT_DISPLAY;
numeric varid = ICC_SETUP_DATA.Spread,
prompt = STRING_TOKEN(STR_ICC_CLOCK_SPREAD_PERCENT1),
help = STRING_TOKEN(STR_ICC_CLOCK_SPREAD_PERCENT_HELP),
flags = INTERACTIVE,
key = KEY_ICC_SPREAD2,
minimum = 0,
maximum = 255,
step = 1,
default = 0, //this value is ignored, default values are retrieved from C code
endnumeric;
endif;
endif;
//[-end-210621-IB16740144-modify]//
SEPARATOR
suppressif ideqval SETUP_DATA.DccClkCtrl == 0;
text
help = STRING_TOKEN(STR_EMPTY_STRING),
text = STRING_TOKEN(STR_DCC_CPU_BCLK_FREQ_CURRENT),
text = STRING_TOKEN(STR_DCC_CPU_BCLK_FREQ_VALUE),
flags = 0,
key = 0;
numeric varid = SETUP_DATA.CpuBclkFreq,
prompt = STRING_TOKEN (STR_DCC_CPU_BCLK_FREQ_PROMPT),
help = STRING_TOKEN (STR_DCC_CPU_BCLK_FREQ_HELP),
flags = DISPLAY_UINT_DEC | RESET_REQUIRED,
minimum = 80,
maximum = 530,
step = 1,
default = 100,
endnumeric;
text
help = STRING_TOKEN(STR_EMPTY_STRING),
text = STRING_TOKEN(STR_DCC_PEGDMI_CLK_FREQ_CURRENT),
text = STRING_TOKEN(STR_DCC_PEGDMI_CLK_FREQ_VALUE),
flags = 0,
key = 0;
numeric varid = SETUP_DATA.PegDmiClkFreq,
prompt = STRING_TOKEN (STR_DCC_PEGDMI_CLK_FREQ_PROMPT),
help = STRING_TOKEN (STR_DCC_PEGDMI_CLK_FREQ_HELP),
flags = DISPLAY_UINT_DEC | RESET_REQUIRED,
minimum = 80,
maximum = 200,
step = 1,
default = 100,
endnumeric;
endif;
endform;