Hi,

Working with MinnowBoard Max, I run on errors.  There is patch with correct
values.



Index: Vlv2TbltDevicePkg/Include/Library/SpiFlash.H
===================================================================
--- Vlv2TbltDevicePkg/Include/Library/SpiFlash.H (revision 1319)
+++ Vlv2TbltDevicePkg/Include/Library/SpiFlash.H (working copy)
@@ -75,7 +75,7 @@
 #define SF_DEVICE_ID0_W25XXX        0x30
 #define SF_DEVICE_ID1_W25X32        0x16
 #define SF_DEVICE_ID1_W25X64        0x17
-#define SF_DEVICE_ID0_W25QXX        0x40
+#define SF_DEVICE_ID0_W25QXX        0x60//0x40
 #define SF_DEVICE_ID1_W25Q16        0x15
 #define SF_DEVICE_ID1_W25Q32        0x16
 #define SF_DEVICE_ID1_W25Q64        0x17
Index: Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c
===================================================================
--- Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c (revision
1319)
+++ Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLibrary.c (working
copy)
@@ -168,7 +168,7 @@
   UINT32 SSUSOffset = 0x2000;
   UINT32 IoBase = 0;

-  DEBUG ((EFI_D_ERROR, "DetermineTurbotBoard() Entry\n"));
+  DEBUG ((EFI_D_ERROR, "DetectTurbotBoard() Entry\n"));
   PciD31F0RegBase = MmPciAddress (0,
                       0,
                       PCI_DEVICE_NUMBER_PCH_LPC,
@@ -182,7 +182,7 @@
   //0xFED0E200/0xFED0E208 is pad_Conf/pad_val register address of GPIO_S5_4
   DEBUG ((EFI_D_ERROR, "MmioConf0[0x%x], MmioPadval[0x%x]\n", MmioConf0,
MmioPadval));

-  MmioWrite32 (MmioConf0, 0x2003CC00);
+  MmioWrite32 (MmioConf0, 0x2003CD00);

   TmpVal = MmioRead32 (MmioPadval);
   TmpVal &= ~0x6; //Clear bit 1:2
Index: Vlv2TbltDevicePkg/PlatformPei/Platform.c
===================================================================
--- Vlv2TbltDevicePkg/PlatformPei/Platform.c (revision 1319)
+++ Vlv2TbltDevicePkg/PlatformPei/Platform.c (working copy)
@@ -238,7 +238,7 @@
   //0xFED0E200/0xFED0E208 is pad_Conf/pad_val register address of GPIO_S5_4
   DEBUG ((EFI_D_ERROR, "MmioConf0[0x%x], MmioPadval[0x%x]\n", MmioConf0,
MmioPadval));

-  MmioWrite32 (MmioConf0, 0x2003CC00);
+  MmioWrite32 (MmioConf0, 0x2003CD00);

   TmpVal = MmioRead32 (MmioPadval);
   TmpVal &= ~0x6; //Clear bit 1:2


Best regards,

AntejaVM
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to