@@ -1056,6 +1056,30 @@ struct sppcrd_chip_tod {
/* Idata index 5 : Chip attached I2C devices */
#define SPPCRD_IDATA_HOST_I2C 5
+/* Idata index 6 : PNOR Information */
+#define SPPCRD_IDATA_PNOR_INFO 6
+
+struct sppcrd_pnor_info {
+#define PNOR_BUS_TYPE_LPC 0x00
+#define PNOR_BUS_TYPE_SPI 0x01
+ uint8_t bus_type;
+ uint8_t reserved[7];
+ __be64 base_addr;
+ __be32 base_size;
+ __be32 reserved2;
+ __be64 bmc_golden_addr;
+ __be32 bmc_golden_size; /* in Kbytes */
+ __be32 reserved3;
+ __be64 bmc_working_addr;
+ __be32 bmc_working_size;
+ __be32 reserved4;
+ __be64 fsp_pside_addr;
+ __be32 fsp_pside_size;
+ __be32 reserved5;
+ __be64 fsp_tside_addr;
+ __be32 fsp_tside_size;
+} __packed;
+
/*
* Host Services Data.
*/
This patch adds PNOR info structure. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> --- hdata/spira.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)