[U-Boot] [PATCH v9 5/7] arm: faraday: ftsmc020: add a fail-safe macro constant

Kuo-Jung Su
2014-01-16T08:31:54Z

Add a macro constant for fail-safe timing value.

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
CC: Albert Aribaud <albert.u.boot@aribaud.net>
---
Changes for v9:
- Separated as a standalone changeset by first time.

include/faraday/ftsmc020.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/faraday/ftsmc020.h b/include/faraday/ftsmc020.h
index 54120ab..485d7c2 100644
--- a/include/faraday/ftsmc020.h
+++ b/include/faraday/ftsmc020.h
@@ -70,5 +70,6 @@ void ftsmc020_init(void);
#define FTSMC020_TPR_WTC(x) (((x) & 0x3) << 6)
#define FTSMC020_TPR_AHT(x) (((x) & 0x3) << 4)
#define FTSMC020_TPR_TRNA(x) (((x) & 0xf) << 0)
+#define FTSMC020_TPR_FAILSAFE 0x0f1ff3ff /* fail-safe timing */

#endif /* __FTSMC020_H */
--
1.7.9.5