summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5250/fimd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/samsung/exynos5250/fimd.h')
-rw-r--r--src/cpu/samsung/exynos5250/fimd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5250/fimd.h b/src/cpu/samsung/exynos5250/fimd.h
index f3dea37a1b..178fb73d08 100644
--- a/src/cpu/samsung/exynos5250/fimd.h
+++ b/src/cpu/samsung/exynos5250/fimd.h
@@ -22,6 +22,8 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_FIMD_H
#define CPU_SAMSUNG_EXYNOS5250_FIMD_H
+#include "cpu.h"
+
/* FIMD register map */
struct exynos5_fimd {
/* This is an incomplete list. Add registers as and when required */
@@ -60,6 +62,8 @@ struct exynos5_fimd {
unsigned int dpclkcon;
};
+static struct exynos5_fimd * const exynos_fimd = (void *)EXYNOS5_FIMD_BASE;
+
#define W0_SHADOW_PROTECT (0x1 << 10)
#define COMPKEY_F 0xffffff
#define ENVID_F_ON (0x1 << 0)
@@ -106,6 +110,9 @@ struct exynos5_disp_ctrl {
unsigned int trigcon;
};
+static struct exynos5_disp_ctrl * const exynos_disp_ctrl =
+ (void *)EXYNOS5_DISP1_CTRL_BASE;
+
#define VCLK_RISING_EDGE (1 << 7)
#define VCLK_RUNNING (1 << 9)