* [PATCH v2] ARM: socfpga: select OFTREE and OFDEVICE
@ 2015-08-12 8:45 Lucas Stach
2015-08-25 7:16 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2015-08-12 8:45 UTC (permalink / raw)
To: barebox
SoCFPGA is completely multi-image enabled and probes the barebox
from a built-in DT, so there is no point in building a barebox
image that isn't able to probe from DT.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
v2: Only select OF symbols if building main barebox binary.
---
arch/arm/Kconfig | 2 ++
arch/arm/configs/socfpga_defconfig | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d836f66854d9..203f912e96e5 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -172,6 +172,8 @@ config ARCH_SOCFPGA
select CLKDEV_LOOKUP
select GPIOLIB
select HAVE_PBL_MULTI_IMAGES
+ select OFDEVICE if !ARCH_SOCFPGA_XLOAD
+ select OFTREE if !ARCH_SOCFPGA_XLOAD
config ARCH_S3C24xx
bool "Samsung S3C2410, S3C2440"
diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
index ec369ae42efb..c55949219a39 100644
--- a/arch/arm/configs/socfpga_defconfig
+++ b/arch/arm/configs/socfpga_defconfig
@@ -65,7 +65,6 @@ CONFIG_CMD_TIME=y
CONFIG_NET=y
CONFIG_NET_NETCONSOLE=y
CONFIG_NET_RESOLV=y
-CONFIG_OFDEVICE=y
CONFIG_OF_BAREBOX_DRIVERS=y
CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_NET_DESIGNWARE=y
--
2.4.6
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: socfpga: select OFTREE and OFDEVICE
2015-08-12 8:45 [PATCH v2] ARM: socfpga: select OFTREE and OFDEVICE Lucas Stach
@ 2015-08-25 7:16 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-08-25 7:16 UTC (permalink / raw)
To: Lucas Stach; +Cc: barebox
On Wed, Aug 12, 2015 at 10:45:38AM +0200, Lucas Stach wrote:
> SoCFPGA is completely multi-image enabled and probes the barebox
> from a built-in DT, so there is no point in building a barebox
> image that isn't able to probe from DT.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> v2: Only select OF symbols if building main barebox binary.
> ---
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-25 7:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-12 8:45 [PATCH v2] ARM: socfpga: select OFTREE and OFDEVICE Lucas Stach
2015-08-25 7:16 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox