summaryrefslogtreecommitdiffstats
path: root/include/fsl_sfp.h
diff options
context:
space:
mode:
authorSaksham Jain <saksham.jain@nxp.com>2016-03-23 16:24:32 +0530
committerYork Sun <york.sun@nxp.com>2016-03-29 08:46:19 -0700
commit3808190af0d753c152633736e953f7ffa3bbc1b2 (patch)
treedce098cf06021f7bbac42d7140a8d298d2eea927 /include/fsl_sfp.h
parentb576d325acbcbe05d712e3a995b4ce6689eb96c5 (diff)
downloadblackbird-obmc-uboot-3808190af0d753c152633736e953f7ffa3bbc1b2.tar.gz
blackbird-obmc-uboot-3808190af0d753c152633736e953f7ffa3bbc1b2.zip
armv8: ls2080: Add SFP Configs for LS2080
In LS2080, SFP has version 3.4. It is in little endian. The base address is 0x01e80200. SFP is used in Secure Boot to read fuses. Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Saksham Jain <saksham.jain@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/fsl_sfp.h')
-rw-r--r--include/fsl_sfp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fsl_sfp.h b/include/fsl_sfp.h
index 353a123ee5..2976a2cbef 100644
--- a/include/fsl_sfp.h
+++ b/include/fsl_sfp.h
@@ -32,7 +32,8 @@
/* Number of SRKH registers */
#define NUM_SRKH_REGS 8
-#ifdef CONFIG_SYS_FSL_SFP_VER_3_2
+#if defined(CONFIG_SYS_FSL_SFP_VER_3_2) || \
+ defined(CONFIG_SYS_FSL_SFP_VER_3_4)
struct ccsr_sfp_regs {
u32 ospr; /* 0x200 */
u32 ospr1; /* 0x204 */
OpenPOWER on IntegriCloud