summaryrefslogtreecommitdiffstats
path: root/cf-code/cf-fsi-fw.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-12 12:56:49 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-12 12:56:49 +1000
commitee2f68f658c1aadb1812d8a54aa24f19870ff4b0 (patch)
tree4bd91aa1b2463ac689462fe21680e94ec8595497 /cf-code/cf-fsi-fw.S
parent0ef53cddd198853808bc2fe1ee2fe90142b2881d (diff)
downloadcf-fsi-ee2f68f658c1aadb1812d8a54aa24f19870ff4b0.tar.gz
cf-fsi-ee2f68f658c1aadb1812d8a54aa24f19870ff4b0.zip
Export CF boot time config
For diagnostics purposes Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code/cf-fsi-fw.S')
-rw-r--r--cf-code/cf-fsi-fw.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S
index 7bcc8c8..9ac91ee 100644
--- a/cf-code/cf-fsi-fw.S
+++ b/cf-code/cf-fsi-fw.S
@@ -198,6 +198,10 @@ _start:
add.l #DATA_GPIO_VREG,%a4
movea.l #CVIC_BASE,%a2
+ /* Store some diagnostic stuff */
+ move.l %d0,%a1@(CF_RESET_D0)
+ move.l %d1,%a1@(CF_RESET_D1)
+
/* Cache clock bit number */
moveq.l #CLOCK_GPIO_BIT,%d5
OpenPOWER on IntegriCloud