mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 10/14] ARM: i.MX53: TQ tqma53: Switch to imx-image
Date: Thu, 13 Feb 2014 11:42:28 +0100	[thread overview]
Message-ID: <1392288152-14821-11-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1392288152-14821-1-git-send-email-s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/Makefile                          |  1 +
 arch/arm/boards/tqma53/flash-header.imxcfg | 66 ++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 arch/arm/boards/tqma53/flash-header.imxcfg

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 6be1bd4..d6744a6 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -217,6 +217,7 @@ imxcfg-$(CONFIG_MACH_TX51) += $(boarddir)/karo-tx51/flash-header-karo-tx51.imxcf
 imxcfg-$(CONFIG_MACH_GUF_VINCELL) += $(boarddir)/guf-vincell/flash-header.imxcfg
 imxcfg-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += $(boarddir)/eukrea_cpuimx51/flash-header.imxcfg
 imxcfg-$(CONFIG_MACH_FREESCALE_MX25_3STACK) += $(boarddir)/freescale-mx25-3-stack/flash-header.imxcfg
+imxcfg-$(CONFIG_MACH_TQMA53) += $(boarddir)/tqma53/flash-header.imxcfg
 ifneq ($(imxcfg-y),)
 CFG_barebox.imximg := $(imxcfg-y)
 KBUILD_IMAGE  := barebox.imximg
diff --git a/arch/arm/boards/tqma53/flash-header.imxcfg b/arch/arm/boards/tqma53/flash-header.imxcfg
new file mode 100644
index 0000000..e161a35
--- /dev/null
+++ b/arch/arm/boards/tqma53/flash-header.imxcfg
@@ -0,0 +1,66 @@
+soc imx53
+loadaddr 0x70000000
+dcdofs 0x400
+
+/* IOMUX */
+wm 32 0x53fa8554 cpu_to_be32(0x00300000
+wm 32 0x53fa8558 cpu_to_be32(0x00300040
+wm 32 0x53fa8560 cpu_to_be32(0x00300000
+wm 32 0x53fa8564 cpu_to_be32(0x00300040
+wm 32 0x53fa8568 cpu_to_be32(0x00300040
+wm 32 0x53fa8570 cpu_to_be32(0x00300000
+wm 32 0x53fa8574 cpu_to_be32(0x00300000
+wm 32 0x53fa8578 cpu_to_be32(0x00300000
+wm 32 0x53fa857c cpu_to_be32(0x00300040
+wm 32 0x53fa8580 cpu_to_be32(0x00300040
+wm 32 0x53fa8584 cpu_to_be32(0x00300000
+wm 32 0x53fa8588 cpu_to_be32(0x00300000
+wm 32 0x53fa8590 cpu_to_be32(0x00300040
+wm 32 0x53fa8594 cpu_to_be32(0x00300000
+wm 32 0x53fa86f0 cpu_to_be32(0x00300000
+wm 32 0x53fa86f4 cpu_to_be32(0x00000000
+wm 32 0x53fa86fc cpu_to_be32(0x00000000
+wm 32 0x53fa8714 cpu_to_be32(0x00000000
+wm 32 0x53fa8718 cpu_to_be32(0x00300000
+wm 32 0x53fa871c cpu_to_be32(0x00300000
+wm 32 0x53fa8720 cpu_to_be32(0x00300000
+wm 32 0x53fa8724 cpu_to_be32(0x04000000
+wm 32 0x53fa8728 cpu_to_be32(0x00300000
+wm 32 0x53fa872c cpu_to_be32(0x00300000
+/* ESDCTL */
+wm 32 0x63fd9088 cpu_to_be32(0x35343535
+wm 32 0x63fd9090 cpu_to_be32(0x4d444c44
+wm 32 0x63fd907c cpu_to_be32(0x01370138
+wm 32 0x63fd9080 cpu_to_be32(0x013b013c
+wm 32 0x63fd90f8 cpu_to_be32(0x00000800
+#ifdef CONFIG_MACH_TQMA53_1GB_RAM
+/* sync with u-boot: add WALAT for 4 chip variant */
+wm 32 0x63fd9018 cpu_to_be32(0x00011740
+wm 32 0x63fd9000 cpu_to_be32(0xc3190000
+#else
+wm 32 0x63fd9018 cpu_to_be32(0x00101740
+wm 32 0x63fd9000 cpu_to_be32(0x83190000
+#endif
+wm 32 0x63fd900c cpu_to_be32(0x9f5152e3
+wm 32 0x63fd9010 cpu_to_be32(0xb68e8a63
+wm 32 0x63fd9014 cpu_to_be32(0x01ff00db
+wm 32 0x63fd902c cpu_to_be32(0x000026d2
+/* Engcm12377 / errata sheet 03/2013 */
+wm 32 0x63fd9030 cpu_to_be32(0x009f0e23
+wm 32 0x63fd9008 cpu_to_be32(0x12273030
+wm 32 0x63fd9004 cpu_to_be32(0x0002002d
+wm 32 0x63fd901c cpu_to_be32(0x00008032
+wm 32 0x63fd901c cpu_to_be32(0x00008033
+wm 32 0x63fd901c cpu_to_be32(0x00028031
+wm 32 0x63fd901c cpu_to_be32(0x052080b0
+wm 32 0x63fd901c cpu_to_be32(0x04008040
+wm 32 0x63fd901c cpu_to_be32(0x0000803a
+wm 32 0x63fd901c cpu_to_be32(0x0000803b
+wm 32 0x63fd901c cpu_to_be32(0x00028039
+wm 32 0x63fd901c cpu_to_be32(0x05208138
+wm 32 0x63fd901c cpu_to_be32(0x04008048
+wm 32 0x63fd9020 cpu_to_be32(0x00005800
+/* prevent reserved value, use default TZQ_CS */
+wm 32 0x63fd9040 cpu_to_be32(0x05380003
+wm 32 0x63fd9058 cpu_to_be32(0x00022227
+wm 32 0x63fd901C cpu_to_be32(0x00000000
-- 
1.8.5.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2014-02-13 10:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13 10:42 i.MX: switch remaining boards " Sascha Hauer
2014-02-13 10:42 ` [PATCH 01/14] ARM: i.MX: Add include directories to imximage target Sascha Hauer
2014-02-13 10:42 ` [PATCH 02/14] ARM: i.MX53 SMD: Switch to imximage Sascha Hauer
2014-02-13 10:42 ` [PATCH 03/14] ARM: i.MX6 sabresd: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 04/14] ARM: i.MX6 arm2: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 05/14] ARM: i.MX51 ccxmx51: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 06/14] ARM: i.MX51 karo-tx51: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 07/14] ARM: i.MX51 vincell: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 08/14] ARM: i.MX51: Eukrea cpuimx51: Switch to imx-image Sascha Hauer
2014-02-13 10:42 ` [PATCH 09/14] ARM: i.MX25: freescale-mx25-3stack: " Sascha Hauer
2014-02-13 10:42 ` Sascha Hauer [this message]
2014-02-13 10:42 ` [PATCH 11/14] ARM: i.MX25: Eukrea cpuimx25: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 12/14] ARM: i.MX35: eukrea-cpuimx35: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 13/14] ARM: i.MX35: freescale-mx35-3stack: " Sascha Hauer
2014-02-13 10:42 ` [PATCH 14/14] ARM: i.MX53 karo-tx53: Switch to imximage Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392288152-14821-11-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox