summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-03 14:57:30 -0700
committerSimon Glass <sjg@chromium.org>2011-10-06 20:58:29 -0700
commit224345f39f98c1d112fc5b6944b52a59a1a1155f (patch)
tree53e6d36ed9a8d88743521247b78c04f49879b3e8 /arch
parent6f04d85c748e718affff1d3327c2948724033f29 (diff)
tegra3: Add flow controller definitions
Change-Id: If944692337a24b1720b07460d1490b8cd15e7ef9 Reviewed-on: http://gerrit.chromium.org/gerrit/8703 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-tegra/ap20.h1
-rw-r--r--arch/arm/include/asm/arch-tegra/flow.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/ap20.h b/arch/arm/include/asm/arch-tegra/ap20.h
index d2251a29027..0bc239977b1 100644
--- a/arch/arm/include/asm/arch-tegra/ap20.h
+++ b/arch/arm/include/asm/arch-tegra/ap20.h
@@ -90,6 +90,7 @@
#define CSITE_CPU_DBG1_LAR (NV_PA_CSITE_BASE + 0x12FB0)
#define FLOW_CTLR_HALT_COP_EVENTS (NV_PA_FLOW_BASE + 4)
+#define FLOW_MODE_NONE 0
#define FLOW_MODE_STOP 2
#define HALT_COP_EVENT_JTAG (1 << 28)
#define HALT_COP_EVENT_IRQ_1 (1 << 11)
diff --git a/arch/arm/include/asm/arch-tegra/flow.h b/arch/arm/include/asm/arch-tegra/flow.h
index cce6cbf7d0b..8c6444747cb 100644
--- a/arch/arm/include/asm/arch-tegra/flow.h
+++ b/arch/arm/include/asm/arch-tegra/flow.h
@@ -31,6 +31,8 @@ struct flow_ctlr {
u32 cop_csr;
u32 halt_cpu1_events;
u32 cpu1_csr;
+ u32 spare[5];
+ u32 control;
};
#endif