* [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL
@ 2019-04-14 10:20 Robert P. J. Day
2019-04-15 2:32 ` Masahiro Yamada
2019-05-05 0:00 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Robert P. J. Day @ 2019-04-14 10:20 UTC (permalink / raw)
To: u-boot
From way back in 2015:
commit dffb86e468c8e02ba77283989aefef214d904dc5
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Wed Aug 12 07:31:54 2015 +0900
of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL
As we discussed a couple of times, negative CONFIG options make our
life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ...
and here is another one.
Now, there are three boards enabling OF_CONTROL on SPL:
- socfpga_arria5_defconfig
- socfpga_cyclone5_defconfig
- socfpga_socrates_defconfig
This commit adds CONFIG_SPL_OF_CONTROL for them and deletes
CONFIG_SPL_DISABLE_OF_CONTROL from the other boards to invert
the logic.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
AFAICT, simple deletion should be sufficient but i'm willing to be
convinced otherwise.
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 3807770362..14347e7c7d 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -116,7 +116,6 @@ config TARGET_SNOW
config TARGET_SPRING
bool "Spring board"
select OF_CONTROL
- select SPL_DISABLE_OF_CONTROL
select SUPPORT_SPL
config TARGET_SMDK5420
@@ -150,7 +149,6 @@ config TARGET_ESPRESSO7420
select OF_CONTROL
select PINCTRL
select PINCTRL_EXYNOS7420
- select SPL_DISABLE_OF_CONTROL
select SUPPORT_SPL
endchoice
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL
2019-04-14 10:20 [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL Robert P. J. Day
@ 2019-04-15 2:32 ` Masahiro Yamada
2019-05-05 0:00 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2019-04-15 2:32 UTC (permalink / raw)
To: u-boot
On Sun, Apr 14, 2019 at 7:21 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>
>
> From way back in 2015:
>
> commit dffb86e468c8e02ba77283989aefef214d904dc5
> Author: Masahiro Yamada <yamada.masahiro@socionext.com>
> Date: Wed Aug 12 07:31:54 2015 +0900
>
> of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL
>
> As we discussed a couple of times, negative CONFIG options make our
> life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ...
> and here is another one.
>
> Now, there are three boards enabling OF_CONTROL on SPL:
> - socfpga_arria5_defconfig
> - socfpga_cyclone5_defconfig
> - socfpga_socrates_defconfig
>
> This commit adds CONFIG_SPL_OF_CONTROL for them and deletes
> CONFIG_SPL_DISABLE_OF_CONTROL from the other boards to invert
> the logic.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Thanks for catching this.
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> AFAICT, simple deletion should be sufficient but i'm willing to be
> convinced otherwise.
>
> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
> index 3807770362..14347e7c7d 100644
> --- a/arch/arm/mach-exynos/Kconfig
> +++ b/arch/arm/mach-exynos/Kconfig
> @@ -116,7 +116,6 @@ config TARGET_SNOW
> config TARGET_SPRING
> bool "Spring board"
> select OF_CONTROL
> - select SPL_DISABLE_OF_CONTROL
> select SUPPORT_SPL
>
> config TARGET_SMDK5420
> @@ -150,7 +149,6 @@ config TARGET_ESPRESSO7420
> select OF_CONTROL
> select PINCTRL
> select PINCTRL_EXYNOS7420
> - select SPL_DISABLE_OF_CONTROL
> select SUPPORT_SPL
>
> endchoice
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL
2019-04-14 10:20 [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL Robert P. J. Day
2019-04-15 2:32 ` Masahiro Yamada
@ 2019-05-05 0:00 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2019-05-05 0:00 UTC (permalink / raw)
To: u-boot
On Sun, Apr 14, 2019 at 06:20:55AM -0400, Robert P. J. Day wrote:
> >From way back in 2015:
>
> commit dffb86e468c8e02ba77283989aefef214d904dc5
> Author: Masahiro Yamada <yamada.masahiro@socionext.com>
> Date: Wed Aug 12 07:31:54 2015 +0900
>
> of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL
>
> As we discussed a couple of times, negative CONFIG options make our
> life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ...
> and here is another one.
>
> Now, there are three boards enabling OF_CONTROL on SPL:
> - socfpga_arria5_defconfig
> - socfpga_cyclone5_defconfig
> - socfpga_socrates_defconfig
>
> This commit adds CONFIG_SPL_OF_CONTROL for them and deletes
> CONFIG_SPL_DISABLE_OF_CONTROL from the other boards to invert
> the logic.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190504/58633db3/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-05 0:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14 10:20 [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL Robert P. J. Day
2019-04-15 2:32 ` Masahiro Yamada
2019-05-05 0:00 ` Tom Rini
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.