diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-12 12:56:49 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-12 12:56:49 +1000 |
commit | ee2f68f658c1aadb1812d8a54aa24f19870ff4b0 (patch) | |
tree | 4bd91aa1b2463ac689462fe21680e94ec8595497 /cf-code | |
parent | 0ef53cddd198853808bc2fe1ee2fe90142b2881d (diff) | |
download | cf-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')
-rw-r--r-- | cf-code/cf-fsi-fw.S | 4 |
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 |