summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-02-25 16:04:59 +0800
committerYe.Li <B37916@freescale.com>2014-03-05 16:09:14 +0800
commit6aa445fe5482ca8f554315c8afb0ff0493b04741 (patch)
treeeac43308e4fed637fb69dd2abcda078d7afd12e0
parent38bbdd1c3d21b8be662a5bdcc92fc1f63e4c6ede (diff)
downloadu-boot-imx-6aa445fe5482ca8f554315c8afb0ff0493b04741.zip
u-boot-imx-6aa445fe5482ca8f554315c8afb0ff0493b04741.tar.gz
u-boot-imx-6aa445fe5482ca8f554315c8afb0ff0493b04741.tar.bz2
ENGR00301443 iMX6SX: Update pad value
The value of pad "SPEED" field is changed on iMX6SX. Value "00" is for 50Mhz. Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r--arch/arm/include/asm/arch-mx6/iomux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h
index 600c73d..1fba965 100644
--- a/arch/arm/include/asm/arch-mx6/iomux.h
+++ b/arch/arm/include/asm/arch-mx6/iomux.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
+ * Copyright (C) 2013-2014 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -33,7 +33,11 @@
#define PAD_CTL_PUE (1 << 13)
#define PAD_CTL_PKE (1 << 12)
#define PAD_CTL_ODE (1 << 11)
+#ifdef CONFIG_MX6SX
+#define PAD_CTL_SPEED_LOW (0 << 6)
+#else
#define PAD_CTL_SPEED_LOW (1 << 6)
+#endif
#define PAD_CTL_SPEED_MED (2 << 6)
#define PAD_CTL_SPEED_HIGH (3 << 6)
#define PAD_CTL_DSE_DISABLE (0 << 3)