summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-davinci/hardware.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2012-01-14 21:42:46 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:23 +0100
commit3f84108b9946fa0d3bd7e9d7c17dda2da6c8216c (patch)
tree33183f7cae0c3ff32d495d90e377d0926adafc05 /arch/arm/include/asm/arch-davinci/hardware.h
parentf59021791b5a09b22c886aa6c1115cd49b730d6c (diff)
downloadtalos-obmc-uboot-3f84108b9946fa0d3bd7e9d7c17dda2da6c8216c.tar.gz
talos-obmc-uboot-3f84108b9946fa0d3bd7e9d7c17dda2da6c8216c.zip
arm, davinci: add workaround for not resetting DMA bus and VPSS modules
The Buffer Logic of VPSS is Not Reset by System Reset Pin, see http://www.ti.com/lit/er/sprz316b/sprz316b.pdf chapter Advisory 1.2.1 on page 9. Add workaroundcode proposed in the errata. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Tom Rini <tom.rini@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-davinci/hardware.h')
-rw-r--r--arch/arm/include/asm/arch-davinci/hardware.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-davinci/hardware.h b/arch/arm/include/asm/arch-davinci/hardware.h
index 1c71540e48..b145c6e7f1 100644
--- a/arch/arm/include/asm/arch-davinci/hardware.h
+++ b/arch/arm/include/asm/arch-davinci/hardware.h
@@ -587,6 +587,15 @@ static inline int get_async3_src(void)
#include <asm/arch/psc_defs.h>
#include <asm/arch/syscfg_defs.h>
#include <asm/arch/timer_defs.h>
+
+#define TMPBUF 0x00017ff8
+#define TMPSTATUS 0x00017ff0
+#define DV_TMPBUF_VAL 0x591b3ed7
+#define FLAG_PORRST 0x00000001
+#define FLAG_WDTRST 0x00000002
+#define FLAG_FLGON 0x00000004
+#define FLAG_FLGOFF 0x00000010
+
#endif
struct davinci_rtc {
OpenPOWER on IntegriCloud