All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
@ 2019-12-03 14:28 Tom Rini
  2019-12-03 16:34 ` Fabio Estevam
  2020-01-04 11:03 ` sbabic at denx.de
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Rini @ 2019-12-03 14:28 UTC (permalink / raw)
  To: u-boot

In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata
point of view) to use thumb2 by default to save space.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/arm/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f9dab073ea14..31c07d9b0b4a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -823,6 +823,7 @@ config ARCH_MX7ULP
 	select CPU_V7A
 	select ROM_UNIFIED_SECTIONS
 	imply MXC_GPIO
+	imply SYS_THUMB_BUILD
 
 config ARCH_MX7
 	bool "Freescale MX7"
@@ -833,6 +834,7 @@ config ARCH_MX7
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_FSL_SEC_LE
 	imply MXC_GPIO
+	imply SYS_THUMB_BUILD
 
 config ARCH_MX6
 	bool "Freescale MX6"
@@ -840,8 +842,8 @@ config ARCH_MX6
 	select SYS_FSL_HAS_SEC if IMX_HAB
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_FSL_SEC_LE
-	select SYS_THUMB_BUILD if SPL
 	imply MXC_GPIO
+	imply SYS_THUMB_BUILD
 
 if ARCH_MX6
 config SPL_LDSCRIPT
-- 
2.17.1

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

* [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
  2019-12-03 14:28 [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7 Tom Rini
@ 2019-12-03 16:34 ` Fabio Estevam
  2019-12-03 17:01   ` Tom Rini
  2020-01-04 11:03 ` sbabic at denx.de
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2019-12-03 16:34 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Tue, Dec 3, 2019 at 11:28 AM Tom Rini <trini@konsulko.com> wrote:
>
> In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata
> point of view) to use thumb2 by default to save space.
>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>

I think it is safer to apply this after 2020.01 is released:

Reviewed-by: Fabio Estevam <festevam@gmail.com>

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

* [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
  2019-12-03 16:34 ` Fabio Estevam
@ 2019-12-03 17:01   ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-12-03 17:01 UTC (permalink / raw)
  To: u-boot

On Tue, Dec 03, 2019 at 01:34:25PM -0300, Fabio Estevam wrote:
> Hi Tom,
> 
> On Tue, Dec 3, 2019 at 11:28 AM Tom Rini <trini@konsulko.com> wrote:
> >
> > In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata
> > point of view) to use thumb2 by default to save space.
> >
> > Cc: Stefano Babic <sbabic@denx.de>
> > Cc: Fabio Estevam <festevam@gmail.com>
> > Signed-off-by: Tom Rini <trini@konsulko.com>
> 
> I think it is safer to apply this after 2020.01 is released:

Agreed.  Posted before it slips my mind :)

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/00aabe40/attachment.sig>

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

* [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
  2019-12-03 14:28 [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7 Tom Rini
  2019-12-03 16:34 ` Fabio Estevam
@ 2020-01-04 11:03 ` sbabic at denx.de
  1 sibling, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2020-01-04 11:03 UTC (permalink / raw)
  To: u-boot

> In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata
> point of view) to use thumb2 by default to save space.
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Applied to u-boot-imx, -next, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

end of thread, other threads:[~2020-01-04 11:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 14:28 [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7 Tom Rini
2019-12-03 16:34 ` Fabio Estevam
2019-12-03 17:01   ` Tom Rini
2020-01-04 11:03 ` sbabic at denx.de

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.