gma pipe setup: Fix secondary pipe cursors <= Sandy Bridge

The secondary cursor registers used to have a different offset.

Change-Id: I4d79f59a8cb693d73d6da666525f091021efb4fd
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/27154
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Reto Buerki <reet@codelabs.ch>
diff --git a/common/hw-gfx-gma-registers.ads b/common/hw-gfx-gma-registers.ads
index ac0f023..5cffe76 100644
--- a/common/hw-gfx-gma-registers.ads
+++ b/common/hw-gfx-gma-registers.ads
@@ -473,6 +473,9 @@
       CUR_BASE_A,
       CUR_POS_A,
       CUR_FBC_CTL_A,
+      CURBCNTR,
+      CURBBASE,
+      CURBPOS,
       CUR_WM_A_0,
       CUR_WM_A_1,
       CUR_WM_A_2,
@@ -927,6 +930,9 @@
       PS_CTRL_2_B           => 16#06_8a80# / Register_Width,
 
       -- cursor control
+      CURBCNTR              => 16#07_00c0# / Register_Width,   -- <= SNB
+      CURBBASE              => 16#07_00c4# / Register_Width,   -- <= SNB
+      CURBPOS               => 16#07_00c8# / Register_Width,   -- <= SNB
       CUR_CTL_B             => 16#07_1080# / Register_Width,
       CUR_BASE_B            => 16#07_1084# / Register_Width,
       CUR_POS_B             => 16#07_1088# / Register_Width,
@@ -1632,6 +1638,9 @@
    GMCH_ADPA            : constant Registers_Index := FDI_TX_CTL_B;
    GMCH_HDMIB           : constant Registers_Index := GMCH_SDVOB;
    GMCH_HDMIC           : constant Registers_Index := GMCH_SDVOC;
+   CURACNTR             : constant Registers_Index := CUR_CTL_A;
+   CURABASE             : constant Registers_Index := CUR_BASE_A;
+   CURAPOS              : constant Registers_Index := CUR_POS_A;
 
    ---------------------------------------------------------------------------