Jérémy Compostella has uploaded this change for review. ( https://review.coreboot.org/c/libgfxinit/+/69855 )
Change subject: gma: Ensure global variable default are zeros and in .bss ......................................................................
gma: Ensure global variable default are zeros and in .bss
Having global variables prevents the inclusion of the library in coreboot romstage.
Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com Change-Id: Id700bd2a872a763a6717b05030de044a185b6b77 --- M common/hw-gfx-gma.adb 1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/55/69855/1
diff --git a/common/hw-gfx-gma.adb b/common/hw-gfx-gma.adb index 9845910..146b53b 100644 --- a/common/hw-gfx-gma.adb +++ b/common/hw-gfx-gma.adb @@ -91,7 +91,8 @@ Allocated_PLLs : PLLs_Type; HPD_Delay : HPD_Delay_Type; Wait_For_HPD : HPD_Type; - Initialized : Boolean := False; + Initialized : Boolean; + pragma Linker_Section (Initialized, ".bss");
Linear_FB_Base : Word64;