summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-06-30 14:52:01 +0200
committerPatrick Rudolph <siro@das-labor.org>2017-07-12 16:10:43 +0000
commit19c2ad87588aff19a1213eedc3c34f14a99b1ad4 (patch)
treeaa59afac685ede30502602a61b1a70ae1136ebe6 /src/drivers/intel
parentbdae93571b4d54a149023ac1e208cfdee7561411 (diff)
downloadcoreboot-19c2ad87588aff19a1213eedc3c34f14a99b1ad4.tar.xz
drv/intel/gma/opregion: Add interface for GNVS ASLB handling
Add and use new interface to set and get GNVS' ASLB register. To be used by Intel's gma driver to set ASLB at ACPI table creation and to get ASLB on S3 resume. Change-Id: If30c6b2270069783b0892774802f47406404da5f Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/20435 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/gma/opregion.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/opregion.h b/src/drivers/intel/gma/opregion.h
index e3866933cd..09fa24180b 100644
--- a/src/drivers/intel/gma/opregion.h
+++ b/src/drivers/intel/gma/opregion.h
@@ -246,5 +246,7 @@ typedef struct {
} __attribute__((packed)) optionrom_vbt_t;
void intel_gma_opregion_register(uintptr_t opregion);
+uintptr_t gma_get_gnvs_aslb(const void *gnvs);
+void gma_set_gnvs_aslb(void *gnvs, uintptr_t aslb);
#endif /* _COMMON_GMA_H_ */