imx: mx6: Fix implementantion reset_misc
Subsystems (3)
PATCH 1/1 imx: mx6: Fix implementantion reset_misc
lcdif_power_down should not be included in spl build to avoid build failure introduced by commit eb111bb31d882877e75e6b8083808dcaf6493b92
--- arch/arm/mach-imx/mx6/soc.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-imx/mx6/soc.c +2 -0
@@ -548,9 +548,11 @@ const struct boot_mode soc_boot_modes[] = {void reset_misc (void ) { +#ifndef CONFIG_SPL_BUILD #ifdef CONFIG_VIDEO_MXS lcdif_power_down ();#endif +#endif }void s_init (void )
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 1/1 imx: mx6: Fix implementantion reset_misc
There is typo in the Subject: "implementation"
Quoted 2 lines · Michael Trimarchi
lcdif_power_downshould not be included in spl build to avoid build failure introduced by commiteb111bb31d882877e75e6b8083808dcaf6493b92
What is the build failure exactly?
Please specify the commit as eb111bb31d88 ("imx: mx6: implement reset_misc")
Quoted 10 lines
Signed-off-by Michael Trimarchi <[email protected]>--- arch/arm/mach-imx/mx6/soc.c | 2 ++ 1 file changed, 2 insertions(+)arch/arm/mach-imx/mx6/soc.c +0
-0
arch/arm/mach-imx/mx6/soc.c const struct boot_mode soc_boot_modes[] = { · line 555
Quoted 8 lines
arch/arm/mach-imx/mx6/soc.c +2
-0@@ -548,9 +548,11 @@ const struct boot_mode soc_boot_modes[] = {void reset_misc (void ) { +#ifndef CONFIG_SPL_BUILD #ifdef CONFIG_VIDEO_MXS lcdif_power_down ();#endif +#endif
Yes, we don't need LCD related functions in SPL, so this fix looks good.
PATCH 1/1 imx: mx6: Fix implementantion reset_misc
In reply to Michael TrimarchiQuoted 24 lines
-----Original Message-----
From: Michael Trimarchi [mailto:michael at amarulasolutions.com]
Sent: 2018年6月21日 5:28
To: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>; Albert Aribaud <[email protected]>; Peng Fan <[email protected]>; Sébastien Szymanski <[email protected]>; u-boot at lists.denx.de
Subject: [PATCH] imx: mx6: Fix implementantionreset_misc
lcdif_power_downshould not be included in spl build to avoid build failure introduced by commiteb111bb31d882877e75e6b8083808dcaf6493b92Signed-off-by Michael Trimarchi <[email protected]>--- arch/arm/mach-imx/mx6/soc.c | 2 ++ 1 file changed, 2 insertions(+)arch/arm/mach-imx/mx6/soc.c +0
-0
arch/arm/mach-imx/mx6/soc.c const struct boot_mode soc_boot_modes[] = { · line 555
Quoted 8 lines
arch/arm/mach-imx/mx6/soc.c +2
-0@@ -548,9 +548,11 @@ const struct boot_mode soc_boot_modes[] = {void reset_misc (void ) { +#ifndef CONFIG_SPL_BUILD #ifdef CONFIG_VIDEO_MXS lcdif_power_down ();#endif +#endif
Quoted 5 lines
arch/arm/mach-imx/mx6/soc.c +0
-1}void s_init (void ) --2.7.4
PATCH 1/1 imx: mx6: Fix implementantion reset_misc
In reply to Michael TrimarchiQuoted 15 lines · Michael Trimarchi
lcdif_power_downshould not be included in spl build to avoid build failure introduced by commiteb111bb31d882877e75e6b8083808dcaf6493b92Signed-off-by Michael Trimarchi <[email protected]>--- arch/arm/mach-imx/mx6/soc.c | 2 ++ 1 file changed, 2 insertions(+)arch/arm/mach-imx/mx6/soc.c +0
-0@@ -548,9 +548,11 @@ const struct boot_mode soc_boot_modes[] = {
arch/arm/mach-imx/mx6/soc.c const struct boot_mode soc_boot_modes[] = { · line 558
Quoted 10 lines
arch/arm/mach-imx/mx6/soc.c +2
-0void reset_misc (void ) { +#ifndef CONFIG_SPL_BUILD #ifdef CONFIG_VIDEO_MXS lcdif_power_down ();#endif +#endif }void s_init (void )
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 =====================================================================