Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
Subsystems (3)
PATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
From: Breno Lima <[email protected]>
MX6UL contains features that MX6ULL doesn't support.
Deselect CONFIG_MX6UL and select SYS_L2CACHE_OFF and ROM_UNIFIED_SECTIONS.
The motivation for doing this change is that MX6UL supports CAAM and MX6ULL does not.
--- arch/arm/mach-imx/mx6/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-imx/mx6/Kconfig +2 -1
@@ -66,8 +66,9 @@ config MX6UL_OPOS6UL select SUPPORT_SPL config MX6ULL + select SYS_L2CACHE_OFF + select ROM_UNIFIED_SECTIONS bool - select MX6UL config MX6_DDRCAL bool "Include dynamic DDR calibration routines"
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
Quoted 9 lines · Breno Lima
From: Breno Lima <[email protected]>
MX6UL contains features that MX6ULL doesn't support.
DeselectCONFIG_MX6ULand selectSYS_L2CACHE_OFFandROM_UNIFIED_SECTIONS.The motivation for doing this change is that MX6UL supports CAAM and MX6ULL does not.
Signed-off-by Breno Lima <[email protected]>
PATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
In reply to Breno LimaQuoted 19 lines · Breno Lima
From: Breno Lima <[email protected]>
MX6UL contains features that MX6ULL doesn't support.
DeselectCONFIG_MX6ULand selectSYS_L2CACHE_OFFandROM_UNIFIED_SECTIONS.The motivation for doing this change is that MX6UL supports CAAM and MX6ULL does not.
Signed-off-by Breno Lima <[email protected]>--- arch/arm/mach-imx/mx6/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm/mach-imx/mx6/Kconfig +0
-0
arch/arm/mach-imx/mx6/Kconfig config MX6UL_OPOS6UL · line 74
Quoted 10 lines
arch/arm/mach-imx/mx6/Kconfig +2
-1@@ -66,8 +66,9 @@ config MX6UL_OPOS6UL select SUPPORT_SPL config MX6ULL + select SYS_L2CACHE_OFF + select ROM_UNIFIED_SECTIONS bool - select MX6UL config MX6_DDRCAL bool "Include dynamic DDR calibration routines"
Applied to u-boot-imx, 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 =====================================================================
PATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
In reply to Breno LimaQuoted 7 lines · Breno Lima
From: Breno Lima <[email protected]>
MX6UL contains features that MX6ULL doesn't support.
DeselectCONFIG_MX6ULand selectSYS_L2CACHE_OFFandROM_UNIFIED_SECTIONS.The motivation for doing this change is that MX6UL supports CAAM and MX6ULL does not.
While I agree with the idea of the change in general, it must be done more carefully! There are several places where we rely that CONFIG_MX6ULL selects CONFIG_MX6ULL, e.g. include/configs/mx6_common.h arch/arm/include/asm/arch-mx6/imx-regs.h arch/arm/include/asm/mach-imx/regs-lcdif.h
I see that this patch already got merged... So I guess we either fix all those places before the release, or we revert this patch...
--
Stefan
Quoted 21 lines
Signed-off-by Breno Lima <[email protected]>--- arch/arm/mach-imx/mx6/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm/mach-imx/mx6/Kconfig +2
-1@@ -66,8 +66,9 @@ config MX6UL_OPOS6UL select SUPPORT_SPL config MX6ULL + select SYS_L2CACHE_OFF + select ROM_UNIFIED_SECTIONS bool - select MX6UL config MX6_DDRCAL bool "Include dynamic DDR calibration routines"
Fabio Estevam
reviewerPATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
Hi Stefan,
Quoted 10 lines · Stefan Agner
While I agree with the idea of the change in general, it must be done more carefully! There are several places where we rely that
CONFIG_MX6ULLselectsCONFIG_MX6ULL, e.g.include/configs/mx6_common.harch/arm/include/asm/arch-mx6/imx-regs.harch/arm/include/asm/mach-imx/regs-lcdif.hI see that this patch already got merged... So I guess we either fix all those places before the release, or we revert this patch...
You are right.
I have just sent a patch for this issue.
Thanks
PATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
In reply to Stefan AgnerHi Stefan, Breno,
Quoted 9 lines · Stefan Agner
Quoted 7 lines · Breno Lima
From: Breno Lima <[email protected]>
MX6UL contains features that MX6ULL doesn't support.
DeselectCONFIG_MX6ULand selectSYS_L2CACHE_OFFandROM_UNIFIED_SECTIONS.The motivation for doing this change is that MX6UL supports CAAM and MX6ULL does not.
Quoted 6 lines
While I agree with the idea of the change in general, it must be done more carefully! There are several places where we rely that
CONFIG_MX6ULLselectsCONFIG_MX6ULL, e.g.include/configs/mx6_common.harch/arm/include/asm/arch-mx6/imx-regs.harch/arm/include/asm/mach-imx/regs-lcdif.h
Ouch...
It is much more as the initial goal of the patch. This breaks MX6ULL.
The idea to add features instead of global SOC define is good, rather we suffer from previous development, when we bound bunches of features simply to the SOC type.
Quoted 3 lines
I see that this patch already got merged... So I guess we either fix all those places before the release, or we revert this patch...
Agree - I am waiting for Breno's answer, but if we have a generally agreement I tend to revert this until this change will be properly handled.
Best regards,
Stefano
Quoted 26 lines
--
StefanQuoted 21 lines
Signed-off-by Breno Lima <[email protected]>--- arch/arm/mach-imx/mx6/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm/mach-imx/mx6/Kconfig +2
-1@@ -66,8 +66,9 @@ config MX6UL_OPOS6UL select SUPPORT_SPL config MX6ULL + select SYS_L2CACHE_OFF + select ROM_UNIFIED_SECTIONS bool - select MX6UL config MX6_DDRCAL bool "Include dynamic DDR calibration routines"
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 =====================================================================
Fabio Estevam
reviewerPATCH 4/5 Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL
Hi Stefano,
Quoted 2 lines · Stefano Babic
Agree - I am waiting for Breno's answer, but if we have a generally agreement I tend to revert this until this change will be properly handled.
I have already sent a fix for this problem:
https://patchwork.ozlabs.org/patch/854371/
It has been successfully tested by Breno and Peng.
Regards,
Fabio Estevam