summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/norflash.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-10-15 23:53:14 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-10-31 10:04:14 -0500
commit96fe95fe8def7d1c1d6b110588b42167d1238d42 (patch)
tree547ba33b72ae894a99c36d8f4ee0c681adf9e24d /src/usr/pnor/norflash.H
parentacd26bc5132d001051405e408f724fc6a1c7088b (diff)
downloadtalos-hostboot-96fe95fe8def7d1c1d6b110588b42167d1238d42.tar.gz
talos-hostboot-96fe95fe8def7d1c1d6b110588b42167d1238d42.zip
Enable writes to PNOR on AST systems
Unlock SIO after console setup Fix PP write length Change-Id: I3b5b9c589ac16b392a0df6f9d4355f8aa1701061 RTC: 97493 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14028 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/norflash.H')
-rw-r--r--src/usr/pnor/norflash.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/pnor/norflash.H b/src/usr/pnor/norflash.H
index 4ab2628fe..864d7cb24 100644
--- a/src/usr/pnor/norflash.H
+++ b/src/usr/pnor/norflash.H
@@ -94,6 +94,15 @@ enum SpiConfigInfo
};
/**
+ * @brief General Constants related to flash
+ */
+enum NorConstants
+{
+ PAGE_PROGRAM_BYTES = 256, //**< 256 bytes per PP command
+};
+
+
+/**
* Common format of Status Register
*/
union NorStatusReg_t
OpenPOWER on IntegriCloud