Vlv2TbltDevicePkg:Change flash layout to fix the Fv space is not enough.
authorlushifex <shifeix.a.lu@intel.com>
Wed, 8 Jun 2016 02:22:19 +0000 (10:22 +0800)
committerdavid wei <david.wei@intel.com>
Wed, 8 Jun 2016 09:47:43 +0000 (17:47 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
Vlv2TbltDevicePkg/PlatformPkg.fdf
Vlv2TbltDevicePkg/PlatformPkgGcc.fdf
Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
Vlv2TbltDevicePkg/PlatformPkgX64.dsc

index 929d615..a499006 100644 (file)
@@ -26,35 +26,35 @@ DEFINE FLASH_REGION_VLVMICROCODE_OFFSET                       = 0x00000000
 DEFINE FLASH_REGION_VLVMICROCODE_SIZE                         = 0x00040000\r
 DEFINE FLASH_REGION_VLVMICROCODE_BASE                         = 0xFFC00000\r
 \r
-DEFINE FLASH_REGION_VPD_OFFSET                                = 0x00130000\r
+DEFINE FLASH_REGION_VPD_OFFSET                                = 0x00040000\r
 DEFINE FLASH_REGION_VPD_SIZE                                  = 0x0003E000\r
 \r
-DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_OFFSET = 0x0016E000\r
+DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_OFFSET = 0x0007E000\r
 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_SIZE   = 0x00002000\r
 \r
 \r
-DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET   = 0x00170000\r
+DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET   = 0x00080000\r
 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_SIZE     = 0x00040000\r
 \r
 !if $(MINNOW2_FSP_BUILD) == TRUE\r
-DEFINE FLASH_REGION_FSPBIN_OFFSET                             = 0x001B0000\r
+DEFINE FLASH_REGION_FSPBIN_OFFSET                             = 0x000C0000\r
 DEFINE FLASH_REGION_FSPBIN_SIZE                               = 0x00048000\r
-DEFINE FLASH_REGION_FSPBIN_BASE                               = 0xFFDB0000\r
+DEFINE FLASH_REGION_FSPBIN_BASE                               = 0xFFCC0000\r
 \r
-DEFINE FLASH_REGION_AZALIABIN_OFFSET                          = 0x001F8000\r
+DEFINE FLASH_REGION_AZALIABIN_OFFSET                          = 0x00108000\r
 DEFINE FLASH_REGION_AZALIABIN_SIZE                            = 0x00008000\r
-DEFINE FLASH_REGION_AZALIABIN_BASE                            = 0xFFDF8000\r
+DEFINE FLASH_REGION_AZALIABIN_BASE                            = 0xFFD08000\r
 \r
 !endif\r
 \r
-DEFINE FLASH_REGION_FVMAIN_OFFSET                             = 0x00200000\r
-DEFINE FLASH_REGION_FVMAIN_SIZE                               = 0x001A5000\r
+DEFINE FLASH_REGION_FVMAIN_OFFSET                             = 0x00110000\r
+DEFINE FLASH_REGION_FVMAIN_SIZE                               = 0x00210000\r
 \r
-DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET                       = 0x003A5000\r
-DEFINE FLASH_REGION_FV_RECOVERY2_SIZE                         = 0x0002B000\r
+DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET                       = 0x00320000\r
+DEFINE FLASH_REGION_FV_RECOVERY2_SIZE                         = 0x00070000\r
 \r
-DEFINE FLASH_REGION_FV_RECOVERY_OFFSET                        = 0x003D0000\r
-DEFINE FLASH_REGION_FV_RECOVERY_SIZE                          = 0x00030000\r
+DEFINE FLASH_REGION_FV_RECOVERY_OFFSET                        = 0x00390000\r
+DEFINE FLASH_REGION_FV_RECOVERY_SIZE                          = 0x00070000\r
 \r
 ################################################################################\r
 #\r
index aa9c383..72a0d2b 100644 (file)
@@ -26,35 +26,35 @@ DEFINE FLASH_REGION_VLVMICROCODE_OFFSET                       = 0x00000000
 DEFINE FLASH_REGION_VLVMICROCODE_SIZE                         = 0x00040000\r
 DEFINE FLASH_REGION_VLVMICROCODE_BASE                         = 0xFFC00000\r
 \r
-DEFINE FLASH_REGION_VPD_OFFSET                                = 0x00130000\r
+DEFINE FLASH_REGION_VPD_OFFSET                                = 0x00040000\r
 DEFINE FLASH_REGION_VPD_SIZE                                  = 0x0003E000\r
 \r
-DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_OFFSET = 0x0016E000\r
+DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_OFFSET = 0x0007E000\r
 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_SIZE   = 0x00002000\r
 \r
 \r
-DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET   = 0x00170000\r
+DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET   = 0x00080000\r
 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_SIZE     = 0x00040000\r
 \r
 !if $(MINNOW2_FSP_BUILD) == TRUE\r
-DEFINE FLASH_REGION_FSPBIN_OFFSET                             = 0x001B0000\r
+DEFINE FLASH_REGION_FSPBIN_OFFSET                             = 0x000C0000\r
 DEFINE FLASH_REGION_FSPBIN_SIZE                               = 0x00048000\r
-DEFINE FLASH_REGION_FSPBIN_BASE                               = 0xFFDB0000\r
+DEFINE FLASH_REGION_FSPBIN_BASE                               = 0xFFCC0000\r
 \r
-DEFINE FLASH_REGION_AZALIABIN_OFFSET                          = 0x001F8000\r
+DEFINE FLASH_REGION_AZALIABIN_OFFSET                          = 0x00108000\r
 DEFINE FLASH_REGION_AZALIABIN_SIZE                            = 0x00008000\r
-DEFINE FLASH_REGION_AZALIABIN_BASE                            = 0xFFDF8000\r
+DEFINE FLASH_REGION_AZALIABIN_BASE                            = 0xFFD08000\r
 \r
 !endif\r
 \r
-DEFINE FLASH_REGION_FVMAIN_OFFSET                             = 0x00200000\r
-DEFINE FLASH_REGION_FVMAIN_SIZE                               = 0x00196000\r
+DEFINE FLASH_REGION_FVMAIN_OFFSET                             = 0x00110000\r
+DEFINE FLASH_REGION_FVMAIN_SIZE                               = 0x00215000\r
 \r
-DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET                       = 0x00396000\r
-DEFINE FLASH_REGION_FV_RECOVERY2_SIZE                         = 0x0002C000\r
+DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET                       = 0x00325000\r
+DEFINE FLASH_REGION_FV_RECOVERY2_SIZE                         = 0x0006B000\r
 \r
-DEFINE FLASH_REGION_FV_RECOVERY_OFFSET                        = 0x003C2000\r
-DEFINE FLASH_REGION_FV_RECOVERY_SIZE                          = 0x0003E000\r
+DEFINE FLASH_REGION_FV_RECOVERY_OFFSET                        = 0x00390000\r
+DEFINE FLASH_REGION_FV_RECOVERY_SIZE                          = 0x00070000\r
 \r
 ################################################################################\r
 #\r
index 7995bac..ace2d73 100644 (file)
 # $(FLASH_AREA_SIZE)\r
   gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000\r
 # $(FLASH_REGION_FSPBIN_BASE)\r
-  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFDB0000\r
+  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000\r
 !endif\r
 \r
 !if $(PERFORMANCE_ENABLE) == TRUE\r
index 8c5a0fe..9af9088 100644 (file)
 # $(FLASH_AREA_SIZE)\r
   gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000\r
 # $(FLASH_REGION_FSPBIN_BASE)\r
-  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFDB0000\r
+  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000\r
 !endif\r
 \r
 !if $(PERFORMANCE_ENABLE) == TRUE\r
index 4d7d834..152bf67 100644 (file)
 # $(FLASH_AREA_SIZE)\r
   gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000\r
 # $(FLASH_REGION_FSPBIN_BASE)\r
-  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFDB0000\r
+  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000\r
 !endif\r
 \r
 !if $(PERFORMANCE_ENABLE) == TRUE\r