arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
PATCH 1/1 arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
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.
--- arch/arm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/Kconfig +3 -1
@@ -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
Signature · 1 line
2.17.1
PATCH 1/1 arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
Hi Tom,
Quoted 7 lines · Tom Rini
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 <[email protected]>Cc Fabio Estevam <[email protected]>Signed-off-by Tom Rini <[email protected]>
I think it is safer to apply this after 2020.01 is released:
PATCH 1/1 arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
Quoted 4 lines · Fabio Estevam
Hi Tom,
Quoted 1 line · Tom Rini
Quoted 8 lines
Quoted 6 lines
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 <[email protected]>Cc Fabio Estevam <[email protected]>Signed-off-by Tom Rini <[email protected]>I think it is safer to apply this after 2020.01 is released:
Agreed. Posted before it slips my mind :)
Signature · 8 lines
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>
PATCH 1/1 arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7
In reply to Tom RiniQuoted 6 lines
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 <[email protected]>Cc Fabio Estevam <[email protected]>Signed-off-by Tom Rini <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, -next, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================