-#define R_SPI_HSFS 0x04 ///< Hardware Sequencing Flash Status and Control Register(32bits)\r
-#define B_SPI_HSFS_FDBC_MASK 0x3F000000 ///< Flash Data Byte Count ( <= 64), Count = (Value in this field) + 1.\r
-#define N_SPI_HSFS_FDBC 24\r
-#define B_SPI_HSFS_CYCLE_MASK 0x001E0000 ///< Flash Cycle.\r
-#define N_SPI_HSFS_CYCLE 17\r
-#define V_SPI_HSFS_CYCLE_READ 0 ///< Flash Cycle Read\r
-#define V_SPI_HSFS_CYCLE_WRITE 2 ///< Flash Cycle Write\r
-#define V_SPI_HSFS_CYCLE_4K_ERASE 3 ///< Flash Cycle 4K Block Erase\r
-#define V_SPI_HSFS_CYCLE_64K_ERASE 4 ///< Flash Cycle 64K Sector Erase\r
-#define V_SPI_HSFS_CYCLE_READ_SFDP 5 ///< Flash Cycle Read SFDP\r
-#define V_SPI_HSFS_CYCLE_READ_JEDEC_ID 6 ///< Flash Cycle Read JEDEC ID\r
-#define V_SPI_HSFS_CYCLE_WRITE_STATUS 7 ///< Flash Cycle Write Status\r
-#define V_SPI_HSFS_CYCLE_READ_STATUS 8 ///< Flash Cycle Read Status\r
-#define B_SPI_HSFS_CYCLE_FGO BIT16 ///< Flash Cycle Go.\r
-#define B_SPI_HSFS_FDV BIT14 ///< Flash Descriptor Valid\r
-#define B_SPI_HSFS_SCIP BIT5 ///< SPI Cycle in Progress\r
-#define B_SPI_HSFS_FCERR BIT1 ///< Flash Cycle Error\r
-#define B_SPI_HSFS_FDONE BIT0 ///< Flash Cycle Done\r
-\r
-\r
-#define R_SPI_FADDR 0x08 ///< SPI Flash Address\r
-#define B_SPI_FADDR_MASK 0x07FFFFFF ///< SPI Flash Address Mask (0~26bit)\r
-\r
-\r
-#define R_SPI_FDATA00 0x10 ///< SPI Data 00 (32 bits)\r
-\r
-#define R_SPI_FRAP 0x50 ///< SPI Flash Regions Access Permissions Register\r
-#define B_SPI_FRAP_BRWA_PLATFORM BIT12 //< Region write access for Region4 PlatformData\r
-#define B_SPI_FRAP_BRWA_GBE BIT11 //< Region write access for Region3 GbE\r
-#define B_SPI_FRAP_BRWA_SEC BIT10 ///< Region Write Access for Region2 SEC\r
-#define B_SPI_FRAP_BRWA_BIOS BIT9 ///< Region Write Access for Region1 BIOS\r
-#define B_SPI_FRAP_BRWA_FLASHD BIT8 ///< Region Write Access for Region0 Flash Descriptor\r
-#define B_SPI_FRAP_BRRA_PLATFORM BIT4 ///< Region read access for Region4 PlatformData\r
-#define B_SPI_FRAP_BRRA_GBE BIT3 ///< Region read access for Region3 GbE\r
-#define B_SPI_FRAP_BRRA_SEC BIT2 ///< Region Read Access for Region2 SEC\r
-#define B_SPI_FRAP_BRRA_BIOS BIT1 ///< Region Read Access for Region1 BIOS\r
-#define B_SPI_FRAP_BRRA_FLASHD BIT0 ///< Region Read Access for Region0 Flash Descriptor\r
-\r
-\r
-#define R_SPI_FREG0_FLASHD 0x54 ///< Flash Region 0 (Flash Descriptor) (32bits)\r
-#define B_SPI_FREG0_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
-#define N_SPI_FREG0_LIMIT 4 ///< Bit 30:16 identifies address bits [26:12]\r
-#define B_SPI_FREG0_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
-#define N_SPI_FREG0_BASE 12 ///< Bit 14:0 identifies address bits [26:2]\r
-\r
-#define R_SPI_FREG1_BIOS 0x58 ///< Flash Region 1 (BIOS) (32bits)\r
-#define B_SPI_FREG1_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
-#define N_SPI_FREG1_LIMIT 4 ///< Bit 30:16 identifies address bits [26:12]\r
-#define B_SPI_FREG1_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
-#define N_SPI_FREG1_BASE 12 ///< Bit 14:0 identifies address bits [26:2]\r
-\r
-#define R_SPI_FREG2_SEC 0x5C ///< Flash Region 2 (SEC) (32bits)\r
-#define B_SPI_FREG2_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
-#define N_SPI_FREG2_LIMIT 4 //< Bit 30:16 identifies address bits [26:12]\r
-#define B_SPI_FREG2_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
-#define N_SPI_FREG2_BASE 12 //< Bit 14:0 identifies address bits [26:2]\r
-\r
-#define R_SPI_FREG3_GBE 0x60 //< Flash Region 3(GbE)(32bits)\r
-#define B_SPI_FREG3_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
-#define N_SPI_FREG3_LIMIT 4 //< Bit 30:16 identifies address bits [26:12]\r
-#define B_SPI_FREG3_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
-#define N_SPI_FREG3_BASE 12 //< Bit 14:0 identifies address bits [26:2]\r
-\r
-#define R_SPI_FREG4_PLATFORM_DATA 0x64 ///< Flash Region 4 (Platform Data) (32bits)\r
-#define B_SPI_FREG4_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
-#define N_SPI_FREG4_LIMIT 4 ///< Bit 30:16 identifies address bits [26:12]\r
-#define B_SPI_FREG4_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
-#define N_SPI_FREG4_BASE 12 ///< Bit 14:0 identifies address bits [26:2]\r
-\r
-\r
-#define S_SPI_FREGX 4 ///< Size of Flash Region register\r
-#define B_SPI_FREGX_LIMIT_MASK 0x7FFF0000 ///< Flash Region Limit [30:16] represents [26:12], [11:0] are assumed to be FFFh\r
-#define N_SPI_FREGX_LIMIT 16 ///< Region limit bit position\r
-#define N_SPI_FREGX_LIMIT_REPR 12 ///< Region limit bit represents position\r
-#define B_SPI_FREGX_BASE_MASK 0x00007FFF ///< Flash Region Base, [14:0] represents [26:12]\r
-\r
-\r
-#define R_SPI_FDOC 0xB4 ///< Flash Descriptor Observability Control Register (32 bits)\r
-#define B_SPI_FDOC_FDSS_MASK (BIT14 | BIT13 | BIT12) ///< Flash Descriptor Section Select\r
-#define V_SPI_FDOC_FDSS_FSDM 0x0000 ///< Flash Signature and Descriptor Map\r
-#define V_SPI_FDOC_FDSS_COMP 0x1000 ///< Component\r
-#define B_SPI_FDOC_FDSI_MASK 0x0FFC ///< Flash Descriptor Section Index\r
-\r
-#define R_SPI_FDOD 0xB8 ///< Flash Descriptor Observability Data Register (32 bits)\r
-\r
-\r
-#define R_SPI_LVSCC 0xC4 ///<Vendor Specific Component Capabilities for Component 0 (32 bits)\r
-#define B_SPI_LVSCC_EO_64K BIT29 ///<< 64k Erase valid (EO_64k_valid)\r
-\r
-#define R_SPI_UVSCC 0xC8 ///< Vendor Specific Component Capabilities for Component 1 (32 bits)\r
-\r
-\r
-#define R_SPI_FDBAR_FLASH_MAP0 0x14 ///< Flash MAP 0\r
-#define N_SPI_FDBAR_NC 8 ///<< Number Of Components\r
-#define B_SPI_FDBAR_NC 0x00000300 ///< Number Of Components\r
-\r
-#define R_SPI_FDBAR_FLASH_MAP1 0x18 ///< Flash MAP 1\r
-#define B_SPI_FDBAR_FPSBA 0x00FF0000 ///< Flash Strap Base Address\r
-\r
+#define R_SPI_HSFS 0x04 ///< Hardware Sequencing Flash Status and Control Register(32bits)\r
+#define B_SPI_HSFS_FDBC_MASK 0x3F000000 ///< Flash Data Byte Count ( <= 64), Count = (Value in this field) + 1.\r
+#define N_SPI_HSFS_FDBC 24\r
+#define B_SPI_HSFS_CYCLE_MASK 0x001E0000 ///< Flash Cycle.\r
+#define N_SPI_HSFS_CYCLE 17\r
+#define V_SPI_HSFS_CYCLE_READ 0 ///< Flash Cycle Read\r
+#define V_SPI_HSFS_CYCLE_WRITE 2 ///< Flash Cycle Write\r
+#define V_SPI_HSFS_CYCLE_4K_ERASE 3 ///< Flash Cycle 4K Block Erase\r
+#define V_SPI_HSFS_CYCLE_64K_ERASE 4 ///< Flash Cycle 64K Sector Erase\r
+#define V_SPI_HSFS_CYCLE_READ_SFDP 5 ///< Flash Cycle Read SFDP\r
+#define V_SPI_HSFS_CYCLE_READ_JEDEC_ID 6 ///< Flash Cycle Read JEDEC ID\r
+#define V_SPI_HSFS_CYCLE_WRITE_STATUS 7 ///< Flash Cycle Write Status\r
+#define V_SPI_HSFS_CYCLE_READ_STATUS 8 ///< Flash Cycle Read Status\r
+#define B_SPI_HSFS_CYCLE_FGO BIT16 ///< Flash Cycle Go.\r
+#define B_SPI_HSFS_FDV BIT14 ///< Flash Descriptor Valid\r
+#define B_SPI_HSFS_SCIP BIT5 ///< SPI Cycle in Progress\r
+#define B_SPI_HSFS_FCERR BIT1 ///< Flash Cycle Error\r
+#define B_SPI_HSFS_FDONE BIT0 ///< Flash Cycle Done\r
+\r
+#define R_SPI_FADDR 0x08 ///< SPI Flash Address\r
+#define B_SPI_FADDR_MASK 0x07FFFFFF ///< SPI Flash Address Mask (0~26bit)\r
+\r
+#define R_SPI_FDATA00 0x10 ///< SPI Data 00 (32 bits)\r
+\r
+#define R_SPI_FRAP 0x50 ///< SPI Flash Regions Access Permissions Register\r
+#define B_SPI_FRAP_BRWA_PLATFORM BIT12 // < Region write access for Region4 PlatformData\r
+#define B_SPI_FRAP_BRWA_GBE BIT11 // < Region write access for Region3 GbE\r
+#define B_SPI_FRAP_BRWA_SEC BIT10 ///< Region Write Access for Region2 SEC\r
+#define B_SPI_FRAP_BRWA_BIOS BIT9 ///< Region Write Access for Region1 BIOS\r
+#define B_SPI_FRAP_BRWA_FLASHD BIT8 ///< Region Write Access for Region0 Flash Descriptor\r
+#define B_SPI_FRAP_BRRA_PLATFORM BIT4 ///< Region read access for Region4 PlatformData\r
+#define B_SPI_FRAP_BRRA_GBE BIT3 ///< Region read access for Region3 GbE\r
+#define B_SPI_FRAP_BRRA_SEC BIT2 ///< Region Read Access for Region2 SEC\r
+#define B_SPI_FRAP_BRRA_BIOS BIT1 ///< Region Read Access for Region1 BIOS\r
+#define B_SPI_FRAP_BRRA_FLASHD BIT0 ///< Region Read Access for Region0 Flash Descriptor\r
+\r
+#define R_SPI_FREG0_FLASHD 0x54 ///< Flash Region 0 (Flash Descriptor) (32bits)\r
+#define B_SPI_FREG0_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
+#define N_SPI_FREG0_LIMIT 4 ///< Bit 30:16 identifies address bits [26:12]\r
+#define B_SPI_FREG0_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
+#define N_SPI_FREG0_BASE 12 ///< Bit 14:0 identifies address bits [26:2]\r
+\r
+#define R_SPI_FREG1_BIOS 0x58 ///< Flash Region 1 (BIOS) (32bits)\r
+#define B_SPI_FREG1_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
+#define N_SPI_FREG1_LIMIT 4 ///< Bit 30:16 identifies address bits [26:12]\r
+#define B_SPI_FREG1_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
+#define N_SPI_FREG1_BASE 12 ///< Bit 14:0 identifies address bits [26:2]\r
+\r
+#define R_SPI_FREG2_SEC 0x5C ///< Flash Region 2 (SEC) (32bits)\r
+#define B_SPI_FREG2_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
+#define N_SPI_FREG2_LIMIT 4 // < Bit 30:16 identifies address bits [26:12]\r
+#define B_SPI_FREG2_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
+#define N_SPI_FREG2_BASE 12 // < Bit 14:0 identifies address bits [26:2]\r
+\r
+#define R_SPI_FREG3_GBE 0x60 // < Flash Region 3(GbE)(32bits)\r
+#define B_SPI_FREG3_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
+#define N_SPI_FREG3_LIMIT 4 // < Bit 30:16 identifies address bits [26:12]\r
+#define B_SPI_FREG3_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
+#define N_SPI_FREG3_BASE 12 // < Bit 14:0 identifies address bits [26:2]\r
+\r
+#define R_SPI_FREG4_PLATFORM_DATA 0x64 ///< Flash Region 4 (Platform Data) (32bits)\r
+#define B_SPI_FREG4_LIMIT_MASK 0x7FFF0000 ///< Size, [30:16] here represents limit[26:12]\r
+#define N_SPI_FREG4_LIMIT 4 ///< Bit 30:16 identifies address bits [26:12]\r
+#define B_SPI_FREG4_BASE_MASK 0x00007FFF ///< Base, [14:0] here represents base [26:12]\r
+#define N_SPI_FREG4_BASE 12 ///< Bit 14:0 identifies address bits [26:2]\r
+\r
+#define S_SPI_FREGX 4 ///< Size of Flash Region register\r
+#define B_SPI_FREGX_LIMIT_MASK 0x7FFF0000 ///< Flash Region Limit [30:16] represents [26:12], [11:0] are assumed to be FFFh\r
+#define N_SPI_FREGX_LIMIT 16 ///< Region limit bit position\r
+#define N_SPI_FREGX_LIMIT_REPR 12 ///< Region limit bit represents position\r
+#define B_SPI_FREGX_BASE_MASK 0x00007FFF ///< Flash Region Base, [14:0] represents [26:12]\r
+\r
+#define R_SPI_FDOC 0xB4 ///< Flash Descriptor Observability Control Register (32 bits)\r
+#define B_SPI_FDOC_FDSS_MASK (BIT14 | BIT13 | BIT12) ///< Flash Descriptor Section Select\r
+#define V_SPI_FDOC_FDSS_FSDM 0x0000 ///< Flash Signature and Descriptor Map\r
+#define V_SPI_FDOC_FDSS_COMP 0x1000 ///< Component\r
+#define B_SPI_FDOC_FDSI_MASK 0x0FFC ///< Flash Descriptor Section Index\r
+\r
+#define R_SPI_FDOD 0xB8 ///< Flash Descriptor Observability Data Register (32 bits)\r
+\r
+#define R_SPI_LVSCC 0xC4 ///< Vendor Specific Component Capabilities for Component 0 (32 bits)\r
+#define B_SPI_LVSCC_EO_64K BIT29 ///< < 64k Erase valid (EO_64k_valid)\r
+\r
+#define R_SPI_UVSCC 0xC8 ///< Vendor Specific Component Capabilities for Component 1 (32 bits)\r
+\r
+#define R_SPI_FDBAR_FLASH_MAP0 0x14 ///< Flash MAP 0\r
+#define N_SPI_FDBAR_NC 8 ///< < Number Of Components\r
+#define B_SPI_FDBAR_NC 0x00000300 ///< Number Of Components\r
+\r
+#define R_SPI_FDBAR_FLASH_MAP1 0x18 ///< Flash MAP 1\r
+#define B_SPI_FDBAR_FPSBA 0x00FF0000 ///< Flash Strap Base Address\r