summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Ribeiro <git@mdrjr.net>2013-05-15 23:13:24 +0400
committerMauro Ribeiro <git@mdrjr.net>2013-05-15 23:13:24 +0400
commit93e4165e5db5aecc0cba5599554edd7a74d8a1f2 (patch)
tree0b0a070f3e86a16b23349c9b5c05809b05108bbc
parent8d816e8484280d9f212366d89fce445d5a8718ef (diff)
parentde0d7fed22cefe9d193f027bd004d278bdc60ecb (diff)
downloadu-boot-93e4165e5db5aecc0cba5599554edd7a74d8a1f2.tar.xz
Merge pull request #3 from tobetter/odroid-v2010.12
Odroid v2010.12
-rw-r--r--board/samsung/smdk4212/smdk4212.c19
-rw-r--r--include/configs/smdk4412.h2
2 files changed, 18 insertions, 3 deletions
diff --git a/board/samsung/smdk4212/smdk4212.c b/board/samsung/smdk4212/smdk4212.c
index 729827463b..0c6de49c05 100644
--- a/board/samsung/smdk4212/smdk4212.c
+++ b/board/samsung/smdk4212/smdk4212.c
@@ -205,8 +205,23 @@ int board_init(void)
} else if (OmPin == BOOT_EMMC_4_4) {
printf(" EMMC4.41\n");
}
- // denis added
- writel(0x6666, S5PV310_CLOCK_BASE + 0xC234); // CLK_SRC_LCD0
+
+ /* CLK_SRC_LCD0: Clock source for LCD_BLK
+ * Select source clock of each device (MIPI0_SEL, MDNIE_PWM0_SEL,
+ * MDNIE0_SEL, FIMD0_SEL) to SCLKMPLL_USER_T
+ */
+ writel(0x6666, S5PV310_CLOCK_BASE + 0xC234); // CLK_SRC_LCD0
+
+ /* LCDBLK_CFG : Display control register
+ * set FIMD to bypass, MIE or MDNIE is the as default in reset
+ * +---+-----------------+--------------------------------+
+ * | 1 | FIMDBYPASS_LBK0 | 0 = MIE/MDNIE, 1 = FIMD Bypass |
+ * | 0 | MIE_LBL0 | 0 = MIE, 1 = MDNIE |
+ * +---+-----------------+--------------------------------+
+ */
+ u32 val;
+ val = readl(S5PV310_SYSREG_BASE + 0x210); // LCDBLK_CFG
+ writel(val | (1 << 1), S5PV310_SYSREG_BASE + 0x210);
return 0;
}
diff --git a/include/configs/smdk4412.h b/include/configs/smdk4412.h
index ac8e03a44c..6f326de6a7 100644
--- a/include/configs/smdk4412.h
+++ b/include/configs/smdk4412.h
@@ -72,7 +72,7 @@
#endif
#define CONFIG_OF_LIBFDT 1
-#define CONFIG_SYS_BOOTMAPSZ 1
+#define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
//#define CONFIG_UPDATE_SOLUTION 1
//#include <asm/arch/cpu.h> /* get chip and board defs */