Replace device name from B0D4 with TCPU for DPTF sensor. This helps to maintain consistency between coreboot and UEFI BIOS. Change-Id: I962d74fc1baa07581d065734aaabb4dcd5e3d247 Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-on: https://review.coreboot.org/c/31029 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright 2018 Google Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#define DPTF_CPU_DEVICE TCPU
|
|
#define DPTF_CPU_ADDR 0x00040000
|
|
|
|
#ifndef DPTF_CPU_PASSIVE
|
|
#define DPTF_CPU_PASSIVE 80
|
|
#endif
|
|
|
|
#ifndef DPTF_CPU_CRITICAL
|
|
#define DPTF_CPU_CRITICAL 90
|
|
#endif
|
|
|
|
#ifndef DPTF_CPU_ACTIVE_AC0
|
|
#define DPTF_CPU_ACTIVE_AC0 90
|
|
#endif
|
|
|
|
#ifndef DPTF_CPU_ACTIVE_AC1
|
|
#define DPTF_CPU_ACTIVE_AC1 80
|
|
#endif
|
|
|
|
#ifndef DPTF_CPU_ACTIVE_AC2
|
|
#define DPTF_CPU_ACTIVE_AC2 70
|
|
#endif
|
|
|
|
#ifndef DPTF_CPU_ACTIVE_AC3
|
|
#define DPTF_CPU_ACTIVE_AC3 60
|
|
#endif
|
|
|
|
#ifndef DPTF_CPU_ACTIVE_AC4
|
|
#define DPTF_CPU_ACTIVE_AC4 50
|
|
#endif
|