summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-05-07 13:06:59 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:42 +0200
commit7c885a0e5532abcd6bc802d21a7858420e5c127b (patch)
tree9441156596340e8797fd535fc30a5cead8e7decf /arch/arm/include
parent8337aa5c0b22bc9e1d8ae9d7b2270735670233bd (diff)
downloadu-boot-imx-7c885a0e5532abcd6bc802d21a7858420e5c127b.zip
u-boot-imx-7c885a0e5532abcd6bc802d21a7858420e5c127b.tar.gz
u-boot-imx-7c885a0e5532abcd6bc802d21a7858420e5c127b.tar.bz2
SPEAr: explicitly select clk src for UART
UART in u-boot intends to run on 48MHz clock supplied by USB PLL. Explicitly select the intended clock source. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-spear/spr_misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-spear/spr_misc.h b/arch/arm/include/asm/arch-spear/spr_misc.h
index b10c726..384944d 100644
--- a/arch/arm/include/asm/arch-spear/spr_misc.h
+++ b/arch/arm/include/asm/arch-spear/spr_misc.h
@@ -110,6 +110,8 @@ struct misc_regs {
/* PERIPH_CLK_CFG value */
#define MISC_GPT3SYNTH 0x00000400
#define MISC_GPT4SYNTH 0x00000800
+#define CONFIG_SPEAR_UART48M 0
+#define CONFIG_SPEAR_UARTCLKMSK (0x1 << 4)
/* PRSC_CLK_CFG value */
/*