From 808ae5988068ebe99c7d47b12b7175938496d32b Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 16 Jul 2013 17:30:16 -0700 Subject: [PATCH] Pit: disable SYSMMU for graphics. It's not needed and it's a potential problem source. BUG=None TEST=Build and boot and it works BRANCH=None Change-Id: Ic4cafe74e7fc3a9031d852895ad7fd5e5cd64d11 Signed-off-by: Ronald G. Minnich Reviewed-on: https://gerrit.chromium.org/gerrit/62279 Commit-Queue: David Hendricks Reviewed-by: David Hendricks Tested-by: David Hendricks --- src/mainboard/google/pit/mainboard.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mainboard/google/pit/mainboard.c b/src/mainboard/google/pit/mainboard.c index 98e591a1d0..b53d284d35 100644 --- a/src/mainboard/google/pit/mainboard.c +++ b/src/mainboard/google/pit/mainboard.c @@ -325,6 +325,15 @@ static void mainboard_init(device_t dev) set_vbe_mode_info_valid(&edid, (uintptr_t)fb_addr); + /* + * The reset value for FIMD SYSMMU register MMU_CTRL:0x14640000 + * should be 0 according to the datasheet, but has experimentally + * been found to come up as 3. This means FIMD SYSMMU is on by + * default on Exynos5420. For now we are disabling FIMD SYSMMU. + */ + writel(0x0, (void *)0x14640000); + writel(0x0, (void *)0x14680000); + lcd_vdd(); parade_dp_bridge_setup();