mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] tqma53: fixes for Kconfig and flash_header
@ 2013-06-07 12:41 Steffen Trumtrar
  2013-06-07 12:41 ` [PATCH 1/3] ARM: i.MX53: tqma53: fix board name in Kconfig Steffen Trumtrar
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2013-06-07 12:41 UTC (permalink / raw)
  To: barebox; +Cc: Steffen Trumtrar

Hi!

Some fixes for the tqma53:
	- rename "tqma53"->"TQMa53" in Kconfig text
	- move RAM size selection to boardspecific submenu
	- update flash_header with Errata settings

Regards,
Steffen


Markus Niebel (3):
  ARM: i.MX53: tqma53: fix board name in Kconfig
  ARM: i.MX53: tqma53: move RAM setting to submenu
  ARM: i.MX53: tqma53: update flash_header

 arch/arm/boards/tqma53/flash_header.c |  9 ++++++---
 arch/arm/mach-imx/Kconfig             | 20 ++++++++++++--------
 2 files changed, 18 insertions(+), 11 deletions(-)

-- 
1.8.2.rc2


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ARM: i.MX53: tqma53: fix board name in Kconfig
  2013-06-07 12:41 [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Steffen Trumtrar
@ 2013-06-07 12:41 ` Steffen Trumtrar
  2013-06-07 12:41 ` [PATCH 2/3] ARM: i.MX53: tqma53: move RAM setting to submenu Steffen Trumtrar
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2013-06-07 12:41 UTC (permalink / raw)
  To: barebox; +Cc: Markus Niebel, Steffen Trumtrar

From: Markus Niebel <Markus.Niebel@tqs.de>

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/mach-imx/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 359b5cd..0e4eb1d 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -54,7 +54,7 @@ config BOARDINFO
 	default "Efika MX smartbook" if MACH_EFIKA_MX_SMARTBOOK
 	default "Garz+Fricke Cupid" if MACH_GUF_CUPID
 	default "Ka-Ro tx25" if MACH_TX25
-	default "TQ tqma53" if MACH_TQMA53
+	default "TQ TQMa53" if MACH_TQMA53
 	default "Ka-Ro tx51" if MACH_TX51
 	default "Freescale i.MX6q armadillo2" if MACH_MX6Q_ARM2
 	default "ConnectCore i.MX51" if MACH_CCMX51
@@ -464,7 +464,7 @@ config MACH_FREESCALE_MX53_SMD
 
 config MACH_TQMA53
 	select HAVE_DEFAULT_ENVIRONMENT_NEW
-	bool "TQ i.MX53 TQMA53"
+	bool "TQ i.MX53 TQMa53"
 
 config MACH_TQMA53_1GB_RAM
 	bool "Use 1GiB of SDRAM"
-- 
1.8.2.rc2


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/3] ARM: i.MX53: tqma53: move RAM setting to submenu
  2013-06-07 12:41 [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Steffen Trumtrar
  2013-06-07 12:41 ` [PATCH 1/3] ARM: i.MX53: tqma53: fix board name in Kconfig Steffen Trumtrar
@ 2013-06-07 12:41 ` Steffen Trumtrar
  2013-06-07 12:41 ` [PATCH 3/3] ARM: i.MX53: tqma53: update flash_header Steffen Trumtrar
  2013-06-08 13:07 ` [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Sascha Hauer
  3 siblings, 0 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2013-06-07 12:41 UTC (permalink / raw)
  To: barebox; +Cc: Markus Niebel, Steffen Trumtrar

From: Markus Niebel <Markus.Niebel@tqs.de>

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/mach-imx/Kconfig | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 0e4eb1d..4a8f6b7 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -466,12 +466,6 @@ config MACH_TQMA53
 	select HAVE_DEFAULT_ENVIRONMENT_NEW
 	bool "TQ i.MX53 TQMa53"
 
-config MACH_TQMA53_1GB_RAM
-	bool "Use 1GiB of SDRAM"
-	depends on MACH_TQMA53
-	help
-	  use 1GiB of SDRAM (512MiB otherwise)
-
 config MACH_TX53
 	bool "Ka-Ro TX53"
 	select HAVE_DEFAULT_ENVIRONMENT_NEW
@@ -592,6 +586,16 @@ endchoice
 
 endif
 
+if MACH_TQMA53
+
+config MACH_TQMA53_1GB_RAM
+	bool "Use 1GiB of SDRAM"
+	depends on MACH_TQMA53
+	help
+	  use 1GiB of SDRAM (512MiB otherwise)
+
+endif
+
 endmenu
 
 menu "i.MX specific settings"
-- 
1.8.2.rc2


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/3] ARM: i.MX53: tqma53: update flash_header
  2013-06-07 12:41 [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Steffen Trumtrar
  2013-06-07 12:41 ` [PATCH 1/3] ARM: i.MX53: tqma53: fix board name in Kconfig Steffen Trumtrar
  2013-06-07 12:41 ` [PATCH 2/3] ARM: i.MX53: tqma53: move RAM setting to submenu Steffen Trumtrar
@ 2013-06-07 12:41 ` Steffen Trumtrar
  2013-06-08 13:07 ` [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Sascha Hauer
  3 siblings, 0 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2013-06-07 12:41 UTC (permalink / raw)
  To: barebox; +Cc: Markus Niebel, Steffen Trumtrar

From: Markus Niebel <Markus.Niebel@tqs.de>

Integrate errata fixes for SDCTL settings.

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/boards/tqma53/flash_header.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/tqma53/flash_header.c b/arch/arm/boards/tqma53/flash_header.c
index a6bcdad..ea649af 100644
--- a/arch/arm/boards/tqma53/flash_header.c
+++ b/arch/arm/boards/tqma53/flash_header.c
@@ -56,7 +56,8 @@ struct imx_dcd_v2_entry __dcd_entry_section dcd_entry[] = {
 	{ .addr = cpu_to_be32(0x63fd9080), .val = cpu_to_be32(0x013b013c), },
 	{ .addr = cpu_to_be32(0x63fd90f8), .val = cpu_to_be32(0x00000800), },
 #ifdef CONFIG_MACH_TQMA53_1GB_RAM
-	{ .addr = cpu_to_be32(0x63fd9018), .val = cpu_to_be32(0x00001740), },
+	/* sync with u-boot: add WALAT for 4 chip variant */
+	{ .addr = cpu_to_be32(0x63fd9018), .val = cpu_to_be32(0x00011740), },
 	{ .addr = cpu_to_be32(0x63fd9000), .val = cpu_to_be32(0xc3190000), },
 #else
 	{ .addr = cpu_to_be32(0x63fd9018), .val = cpu_to_be32(0x00101740), },
@@ -66,7 +67,8 @@ struct imx_dcd_v2_entry __dcd_entry_section dcd_entry[] = {
 	{ .addr = cpu_to_be32(0x63fd9010), .val = cpu_to_be32(0xb68e8a63), },
 	{ .addr = cpu_to_be32(0x63fd9014), .val = cpu_to_be32(0x01ff00db), },
 	{ .addr = cpu_to_be32(0x63fd902c), .val = cpu_to_be32(0x000026d2), },
-	{ .addr = cpu_to_be32(0x63fd9030), .val = cpu_to_be32(0x009f0e21), },
+	/* Engcm12377 / errata sheet 03/2013 */
+	{ .addr = cpu_to_be32(0x63fd9030), .val = cpu_to_be32(0x009f0e23), },
 	{ .addr = cpu_to_be32(0x63fd9008), .val = cpu_to_be32(0x12273030), },
 	{ .addr = cpu_to_be32(0x63fd9004), .val = cpu_to_be32(0x0002002d), },
 	{ .addr = cpu_to_be32(0x63fd901c), .val = cpu_to_be32(0x00008032), },
@@ -80,7 +82,8 @@ struct imx_dcd_v2_entry __dcd_entry_section dcd_entry[] = {
 	{ .addr = cpu_to_be32(0x63fd901c), .val = cpu_to_be32(0x05208138), },
 	{ .addr = cpu_to_be32(0x63fd901c), .val = cpu_to_be32(0x04008048), },
 	{ .addr = cpu_to_be32(0x63fd9020), .val = cpu_to_be32(0x00005800), },
-	{ .addr = cpu_to_be32(0x63fd9040), .val = cpu_to_be32(0x04b80003), },
+	/* prevent reserved value, use default TZQ_CS */
+	{ .addr = cpu_to_be32(0x63fd9040), .val = cpu_to_be32(0x05380003), },
 	{ .addr = cpu_to_be32(0x63fd9058), .val = cpu_to_be32(0x00022227), },
 	{ .addr = cpu_to_be32(0x63fd901C), .val = cpu_to_be32(0x00000000), },
 };
-- 
1.8.2.rc2


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] tqma53: fixes for Kconfig and flash_header
  2013-06-07 12:41 [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Steffen Trumtrar
                   ` (2 preceding siblings ...)
  2013-06-07 12:41 ` [PATCH 3/3] ARM: i.MX53: tqma53: update flash_header Steffen Trumtrar
@ 2013-06-08 13:07 ` Sascha Hauer
  3 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2013-06-08 13:07 UTC (permalink / raw)
  To: Steffen Trumtrar; +Cc: barebox

On Fri, Jun 07, 2013 at 02:41:27PM +0200, Steffen Trumtrar wrote:
> Hi!
> 
> Some fixes for the tqma53:
> 	- rename "tqma53"->"TQMa53" in Kconfig text
> 	- move RAM size selection to boardspecific submenu
> 	- update flash_header with Errata settings

Applied, thanks

Sascha

> 
> Regards,
> Steffen
> 
> 
> Markus Niebel (3):
>   ARM: i.MX53: tqma53: fix board name in Kconfig
>   ARM: i.MX53: tqma53: move RAM setting to submenu
>   ARM: i.MX53: tqma53: update flash_header
> 
>  arch/arm/boards/tqma53/flash_header.c |  9 ++++++---
>  arch/arm/mach-imx/Kconfig             | 20 ++++++++++++--------
>  2 files changed, 18 insertions(+), 11 deletions(-)
> 
> -- 
> 1.8.2.rc2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-08 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-07 12:41 [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Steffen Trumtrar
2013-06-07 12:41 ` [PATCH 1/3] ARM: i.MX53: tqma53: fix board name in Kconfig Steffen Trumtrar
2013-06-07 12:41 ` [PATCH 2/3] ARM: i.MX53: tqma53: move RAM setting to submenu Steffen Trumtrar
2013-06-07 12:41 ` [PATCH 3/3] ARM: i.MX53: tqma53: update flash_header Steffen Trumtrar
2013-06-08 13:07 ` [PATCH 0/3] tqma53: fixes for Kconfig and flash_header Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox