summaryrefslogtreecommitdiff
path: root/bootwrapper/bootwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'bootwrapper/bootwrapper.h')
-rw-r--r--bootwrapper/bootwrapper.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/bootwrapper/bootwrapper.h b/bootwrapper/bootwrapper.h
index f4e9987..739e8dd 100644
--- a/bootwrapper/bootwrapper.h
+++ b/bootwrapper/bootwrapper.h
@@ -18,7 +18,7 @@
* contributors may be used to endorse or promote products
* derived from this software without specific prior written
* permission.
- */
+ */
#ifndef __BOOTWRAPPER_H__
#define __BOOTWRAPPER_H__
@@ -48,14 +48,14 @@
#define FLAGS_SET 0x30
#define FLAGS_CLR 0x34
-#define VE_KFSCB_BASE 0x10020000 /* Kingfisher System Configuration Block */
-#define KFS_ID_OFFSET 0xFFC /* Kingfisher System Platform ID register offset (KFS_ID) */
-#define KFS_ID_ARCH_MASK 0x000F0000 /* Mask for extracting KFS architecture */
-#define KFS_ID_ARCH_SHIFT 16 /* Shift for extracting KFS architecture */
-#define KFS_CFG_R 0x30 /* Kingfisher System static configuration read register */
-#define ACTIVE_CLUSTER_MASK 0x3 /* Returns the value that was driven on the CFG_ACTIVECLUSTER configuration inputs at the last system power-on reset. */
-#define KFS_CFG_R_OFFSET 0x30 /* Kingfisher System Static Configuration Read register */
-#define ACTIVE_CLUSTER_MASK 0x3 /* Returns the value that was driven on the CFG_ACTIVECLUSTER configuration input */
+#define VE_KFSCB_BASE 0x10020000 /* Kingfisher System Configuration Block */
+#define KFS_ID_OFFSET 0xFFC /* Kingfisher System Platform ID register offset (KFS_ID) */
+#define KFS_ID_ARCH_MASK 0x000F0000 /* Mask for extracting KFS architecture */
+#define KFS_ID_ARCH_SHIFT 16 /* Shift for extracting KFS architecture */
+#define KFS_CFG_R 0x30 /* Kingfisher System static configuration read register */
+#define ACTIVE_CLUSTER_MASK 0x3 /* Returns the value that was driven on the CFG_ACTIVECLUSTER configuration inputs at the last system power-on reset. */
+#define KFS_CFG_R_OFFSET 0x30 /* Kingfisher System Static Configuration Read register */
+#define ACTIVE_CLUSTER_MASK 0x3 /* Returns the value that was driven on the CFG_ACTIVECLUSTER configuration input */
#define CLUSTER_CPU_COUNT(x) (((read32(VE_KFSCB_BASE + KFS_CFG_R) >> 16) >> (x << 2)) & 0xf)
#define write32(addr, val) (*(volatile unsigned int *)(addr) = (val))
@@ -65,4 +65,4 @@ extern void config_uart(void);
extern void drain_uart_fifo(void);
extern void start(void);
-#endif /* __BOOTWRAPPER_H__ */
+#endif /* __BOOTWRAPPER_H__ */