diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/pit/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/snow/mainboard.c | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/google/pit/mainboard.c b/src/mainboard/google/pit/mainboard.c index 467b9d04e9..bdf2d571b2 100644 --- a/src/mainboard/google/pit/mainboard.c +++ b/src/mainboard/google/pit/mainboard.c @@ -331,7 +331,6 @@ static struct edp_video_info dp_video_info = { }; /* FIXME: move some place more appropriate */ -#define EXYNOS5420_DP1_BASE 0x145b0000 #define MAX_DP_TRIES 5 static void setup_storage(void) diff --git a/src/mainboard/google/snow/mainboard.c b/src/mainboard/google/snow/mainboard.c index dfaf81d537..756dc15325 100644 --- a/src/mainboard/google/snow/mainboard.c +++ b/src/mainboard/google/snow/mainboard.c @@ -30,11 +30,11 @@ #include <arch/exception.h> #include <cpu/samsung/exynos5250/tmu.h> #include <cpu/samsung/exynos5250/clk.h> -#include <cpu/samsung/exynos5250/cpu.h> #include <cpu/samsung/exynos5250/gpio.h> #include <cpu/samsung/exynos5250/power.h> #include <cpu/samsung/exynos5250/i2c.h> #include <cpu/samsung/exynos5250/dp-core.h> +#include <cpu/samsung/exynos5250/dp.h> #include <cpu/samsung/exynos5250/usb.h> #include "exynos5250.h" @@ -193,7 +193,6 @@ static struct video_info dp_video_info = { }; /* FIXME: move some place more appropriate */ -#define EXYNOS5250_DP1_BASE 0x145b0000 #define MAX_DP_TRIES 5 /* @@ -256,7 +255,7 @@ static void mainboard_init(device_t dev) { int dp_tries; struct s5p_dp_device dp_device = { - .base = (struct exynos5_dp *)EXYNOS5250_DP1_BASE, + .base = exynos_dp1, .video_info = &dp_video_info, }; void *fb_addr = (void *)(get_fb_base_kb() * KiB); |