summaryrefslogtreecommitdiffstats
path: root/cf-code
diff options
context:
space:
mode:
Diffstat (limited to 'cf-code')
-rw-r--r--cf-code/cf-fsi-fw.S7
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
OpenPOWER on IntegriCloud