mb,sb/amd/cimx/sb800: Remove FADT_PM_PROFILE
The platform_cfg.h files under mainboard/ are a legacy configuration mechanism used with AGESA family14 boards. With this change following boards will have FADT preferred_pm_profile changed from PM_UNSPECIFIED to PM_DESKTOP: amd/inaqua amd/south_station amd/union_station asrock/e350m1 Change-Id: Ic28761eb238dbbaf3e8f820a29ec64b89f12bf53 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42031 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
4a09b97cad
commit
55c0c4bc86
|
@ -224,18 +224,4 @@ static const CODECTBLLIST codec_tablelist[] =
|
||||||
*/
|
*/
|
||||||
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
#endif /* _PLATFORM_CFG_H_ */
|
#endif /* _PLATFORM_CFG_H_ */
|
||||||
|
|
|
@ -222,18 +222,4 @@ static const CODECTBLLIST codec_tablelist[] = {
|
||||||
*/
|
*/
|
||||||
//#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
//#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
#endif /* _PLATFORM_CFG_H_ */
|
#endif /* _PLATFORM_CFG_H_ */
|
||||||
|
|
|
@ -229,18 +229,4 @@ static const CODECTBLLIST codec_tablelist[] =
|
||||||
*/
|
*/
|
||||||
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -226,18 +226,4 @@ static const CODECTBLLIST codec_tablelist[] =
|
||||||
*/
|
*/
|
||||||
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
#endif /* _PLATFORM_CFG_H_ */
|
#endif /* _PLATFORM_CFG_H_ */
|
||||||
|
|
|
@ -226,18 +226,4 @@ static const CODECTBLLIST codec_tablelist[] =
|
||||||
*/
|
*/
|
||||||
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -226,18 +226,4 @@ static const CODECTBLLIST codec_tablelist[] =
|
||||||
*/
|
*/
|
||||||
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
#define AZALIA_OEM_VERB_TABLE (&codec_tablelist[0])
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -198,20 +198,6 @@
|
||||||
*/
|
*/
|
||||||
#define GEC_CONFIG 0
|
#define GEC_CONFIG 0
|
||||||
|
|
||||||
/* set up an ACPI preferred power management profile */
|
|
||||||
/* from acpi.h
|
|
||||||
* PM_UNSPECIFIED = 0,
|
|
||||||
* PM_DESKTOP = 1,
|
|
||||||
* PM_MOBILE = 2,
|
|
||||||
* PM_WORKSTATION = 3,
|
|
||||||
* PM_ENTERPRISE_SERVER = 4,
|
|
||||||
* PM_SOHO_SERVER = 5,
|
|
||||||
* PM_APPLIANCE_PC = 6,
|
|
||||||
* PM_PERFORMANCE_SERVER = 7,
|
|
||||||
* PM_TABLET = 8
|
|
||||||
*/
|
|
||||||
#define FADT_PM_PROFILE 1
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @def USB_RX_MODE
|
* @def USB_RX_MODE
|
||||||
* 0x00 - leave Cg2Pll voltage at default value (1.222V)
|
* 0x00 - leave Cg2Pll voltage at default value (1.222V)
|
||||||
|
|
|
@ -23,10 +23,6 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FADT_PM_PROFILE
|
|
||||||
#define FADT_PM_PROFILE PM_UNSPECIFIED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reference section 5.2.9 Fixed ACPI Description Table (FADT)
|
* Reference section 5.2.9 Fixed ACPI Description Table (FADT)
|
||||||
* in the ACPI 3.0b specification.
|
* in the ACPI 3.0b specification.
|
||||||
|
@ -59,7 +55,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
fadt->dsdt = (uintptr_t)dsdt;
|
fadt->dsdt = (uintptr_t)dsdt;
|
||||||
|
|
||||||
fadt->reserved = 0; /* reserved, should be 0 ACPI 3.0 */
|
fadt->reserved = 0; /* reserved, should be 0 ACPI 3.0 */
|
||||||
fadt->preferred_pm_profile = FADT_PM_PROFILE;
|
fadt->preferred_pm_profile = PM_DESKTOP;
|
||||||
fadt->sci_int = 9; /* HUDSON 1 - IRQ 09 - ACPI SCI */
|
fadt->sci_int = 9; /* HUDSON 1 - IRQ 09 - ACPI SCI */
|
||||||
|
|
||||||
val = PM1_EVT_BLK_ADDRESS;
|
val = PM1_EVT_BLK_ADDRESS;
|
||||||
|
|
Loading…
Reference in New Issue