gma pcode: Add Mailbox_Read procedure

Some chipsets may have data that they need to read from the PCode,
with no data in particular necessary, therefore add a `Mailbox_Read`
procedure to do this.

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: Ic8505ef46661c291e6f0787279b32430669f7d14
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/65140
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma-pcode.adb b/common/hw-gfx-gma-pcode.adb
index dd0fc6e..bc1dfef 100644
--- a/common/hw-gfx-gma-pcode.adb
+++ b/common/hw-gfx-gma-pcode.adb
@@ -84,6 +84,17 @@
         (MBox, Command, Ignored_R, Wait_Ready, Wait_Ack, Success);
    end Mailbox_Write;
 
+   procedure Mailbox_Read
+     (MBox        : in     Word32;
+      Command     : in     Word64 := 0;
+      Wait_Ready  : in     Boolean := False;
+      Reply       :    out Word64;
+      Success     :    out Boolean)
+   is
+   begin
+      Mailbox_Write_Read (MBox, Command, Reply, Wait_Ready, True, Success);
+   end Mailbox_Read;
+
    procedure Mailbox_Request
      (MBox        : in     Word32;
       Command     : in     Word64;