diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-03 18:00:13 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-03 18:07:29 +1000 |
commit | 3537fafa06ec7dd2be6bb5bc0cc48c7a7371f93e (patch) | |
tree | 686e31f2a97bc39ad7bc9b667d8b8252ebb32d5b /cf-code/cf-fsi-fw.S | |
parent | 6cf507262e860be571f33a7448e5dba4aa6f430d (diff) | |
download | cf-fsi-3537fafa06ec7dd2be6bb5bc0cc48c7a7371f93e.tar.gz cf-fsi-3537fafa06ec7dd2be6bb5bc0cc48c7a7371f93e.zip |
Update some comments
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.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S index 6e713c5..6545894 100644 --- a/cf-code/cf-fsi-fw.S +++ b/cf-code/cf-fsi-fw.S @@ -110,6 +110,7 @@ #define DTRA d0 #endif + /* Tracing macro */ #ifdef ENABLE_TRACE .macro trace op:req @@ -120,6 +121,10 @@ .endm #endif + /* + * Macros for clocking, sending and receiving + */ + /* clock_toggle: toggle the clock down and back up */ .macro clock_toggle bclr.l #CLOCK_GPIO_BIT,%DCLK /* clock low */ @@ -212,7 +217,7 @@ _start: add.l #DATA_GPIO_REG,%a4 movea.l #CVIC_BASE,%a2 - /* Load GPIO value and Configure clock & data GPIO as output */ + /* Load GPIO values into caches and Configure clock & data GPIO as output */ move.l %a5@(0),%DCLK move.l %a4@(0),%DDAT bset.l #CLOCK_GPIO_BIT,%DCLK |