soc/amd/common/upep.asl: Correct device list format

Use correct format for constraint list as expected by kernel driver.
With this change, kernel is able to correctly list dummy device in
constraint list.

BUG=b:194687976
TEST=Build and boot to OS in Guybrush.

Change-Id: I7af1941ffd21cd5864c7285f44cb2d063d2f225f
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57012
Reviewed-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Pratik Vishwakarma 2021-08-18 11:44:34 +05:30 committed by Raul Rangel
parent 1473fc75eb
commit 35a4bfa9ce
1 changed files with 9 additions and 4 deletions

View File

@ -34,12 +34,17 @@ Scope (\_SB) {
* (`INTERNAL_POWER_ERROR`). Returning an empty package does not work. * (`INTERNAL_POWER_ERROR`). Returning an empty package does not work.
*/ */
Name (DEVL, Package() { Name (DEVL, Package() {
0,
1, /* Only 1 dummy device for now */
Package() {
Package() { Package() {
0, /* Disabled */ 0, /* Disabled */
"\\DUMY", /* \DUMY - not existent */ "\\DUMY", /* \DUMY - not existent */
0, /* Function States */ 0, /* Function States */
0 /* Minimum D-state */ 0 /* Minimum D-state */
} }
}
}) })
/* /*