summaryrefslogtreecommitdiff
path: root/include/configs/mx6_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-08 12:51:47 -0500
committerTom Rini <trini@konsulko.com>2018-01-08 12:51:47 -0500
commit2f4c9de3d00b09f74eaf9598ea4edbbc4f99b62d (patch)
tree253415eae65bc1685bb8722dbd38b0697e7aa7b8 /include/configs/mx6_common.h
parent5e2338079d4497fe87db60b791203e760493780c (diff)
parentca9d211e2c7801bc3e194d325ece0d3b583b32d2 (diff)
Merge git://git.denx.de/u-boot-imx
Diffstat (limited to 'include/configs/mx6_common.h')
-rw-r--r--include/configs/mx6_common.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index 5fb85a1127..ddc645c136 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -7,7 +7,10 @@
#ifndef __MX6_COMMON_H
#define __MX6_COMMON_H
-#ifndef CONFIG_MX6UL
+#if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
+#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
+#define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK
+#else
#ifndef CONFIG_SYS_L2CACHE_OFF
#define CONFIG_SYS_L2_PL310
#define CONFIG_SYS_PL310_BASE L2_PL310_BASE
@@ -37,8 +40,9 @@
#define CONFIG_REVISION_TAG
/* Boot options */
-#if (defined(CONFIG_MX6SX) || defined(CONFIG_MX6SL) || \
- defined(CONFIG_MX6UL) || defined(CONFIG_MX6SLL))
+#if defined(CONFIG_MX6SL) || defined(CONFIG_MX6SLL) || \
+ defined(CONFIG_MX6SX) || \
+ defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)
#define CONFIG_LOADADDR 0x82000000
#ifndef CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_TEXT_BASE 0x87800000