diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-21 21:08:39 -0700 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2016-05-25 13:25:17 +0900 |
commit | b6feb2675b75c687b9ddb9e5a493cfe4035e387d (patch) | |
tree | a2494cb401f06c19fe0d08a4b57c28eab6671f93 /drivers/video/exynos/exynos_dp_lowlevel.c | |
parent | 08a7aa1e5be7059d680fedf0a885655a895f638e (diff) | |
download | u-boot-b6feb2675b75c687b9ddb9e5a493cfe4035e387d.tar.gz |
exynos: video: Drop dead code
We always use device tree with video, so can drop these #ifdefs. Some of the
hardware addresses are not needed either.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/video/exynos/exynos_dp_lowlevel.c')
-rw-r--r-- | drivers/video/exynos/exynos_dp_lowlevel.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/exynos/exynos_dp_lowlevel.c b/drivers/video/exynos/exynos_dp_lowlevel.c index acb5bc8eb7..e417cf86c6 100644 --- a/drivers/video/exynos/exynos_dp_lowlevel.c +++ b/drivers/video/exynos/exynos_dp_lowlevel.c @@ -22,7 +22,6 @@ struct exynos_dp *dp_regs; void exynos_dp_set_base_addr(void) { -#if CONFIG_IS_ENABLED(OF_CONTROL) unsigned int node = fdtdec_next_compatible(gd->fdt_blob, 0, COMPAT_SAMSUNG_EXYNOS5_DP); if (node <= 0) @@ -32,9 +31,6 @@ void exynos_dp_set_base_addr(void) node, "reg"); if (dp_regs == NULL) debug("Can't get the DP base address\n"); -#else - dp_regs = (struct exynos_dp *)samsung_get_base_dp(); -#endif } static void exynos_dp_enable_video_input(unsigned int enable) |