mb/google/hatch/var/jinlon: Replace hardcoded address with device type
commit96df8b697f460f1f499462fa6bccefe35e3f23e6
authorMatt DeVillier <matt.devillier@gmail.com>
Sat, 22 Jun 2024 22:25:35 +0000 (22 17:25 -0500)
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>
Sat, 13 Jul 2024 20:53:05 +0000 (13 20:53 +0000)
tree999dd237e720bc473971a73e25d9e1765827195c
parent4250266bb79d9900713412a74feb08c3bd76483e
mb/google/hatch/var/jinlon: Replace hardcoded address with device type

Eliminates the use of a magic number, and the resulting DID entry in
the _DOD method is the same. The first entry was already changed in
commit 1810a1841528 ("mb/google/*: Replace use of gfx/generic addr
field with display type"), this one was missed.

TEST=build/boot google/jinlon w/o privacy screen, dump SSDT and verify
DID entry is unchanged but _ADR is now correct (since the DID flags are
not part of the address field).

Change-Id: Ief22928ea831d4cb5b483406ac388218a97ad98b
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83409
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
src/mainboard/google/hatch/variants/jinlon/overridetree.cb