summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-09-16 19:54:32 +0200
committerMarek Vasut <marex@denx.de>2014-10-06 17:46:49 +0200
commit036ba54f5b713f60c17c4a28e4ad4d59fa913db9 (patch)
tree1bcb035b90add59f032b9e6843e7a3a112d234b3 /arch/arm/include/asm
parent44428ab6abbba58aa90b982d4d41b39cbcbec966 (diff)
downloadu-boot-imx-036ba54f5b713f60c17c4a28e4ad4d59fa913db9.zip
u-boot-imx-036ba54f5b713f60c17c4a28e4ad4d59fa913db9.tar.gz
u-boot-imx-036ba54f5b713f60c17c4a28e4ad4d59fa913db9.tar.bz2
arm: socfpga: clock: Sync with reference code
Add the missing pieces from the reference clock code from Altera. This puts the code on par with the Altera U-Boot fork for all but the SDRAM self-refresh bits, which are not part of this patch. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by: Pavel Machek <pavel@denx.de>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-socfpga/clock_manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-socfpga/clock_manager.h b/arch/arm/include/asm/arch-socfpga/clock_manager.h
index bc91662..fa49f6a 100644
--- a/arch/arm/include/asm/arch-socfpga/clock_manager.h
+++ b/arch/arm/include/asm/arch-socfpga/clock_manager.h
@@ -135,6 +135,9 @@ struct socfpga_clock_manager {
#define CLKMGR_INTER_SDRPLLLOCKED_MASK 0x00000100
#define CLKMGR_INTER_PERPLLLOCKED_MASK 0x00000080
#define CLKMGR_INTER_MAINPLLLOCKED_MASK 0x00000040
+#define CLKMGR_INTER_PERPLLLOST_MASK 0x00000010
+#define CLKMGR_INTER_SDRPLLLOST_MASK 0x00000020
+#define CLKMGR_INTER_MAINPLLLOST_MASK 0x00000008
#define CLKMGR_STAT_BUSY (1 << 0)