mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: socfpga: update defconfig
@ 2018-11-15  9:05 Steffen Trumtrar
  2018-11-15  9:05 ` [PATCH 2/2] ARM: socfpga: select GPIOLIB for non-xload Steffen Trumtrar
  2018-11-16  7:44 ` [PATCH 1/2] ARM: socfpga: update defconfig Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Steffen Trumtrar @ 2018-11-15  9:05 UTC (permalink / raw)
  To: Barebox List

Select some more common drivers in the defconfig.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/configs/socfpga_defconfig | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
index 3a50bae8f2dc..d9688ca29ce3 100644
--- a/arch/arm/configs/socfpga_defconfig
+++ b/arch/arm/configs/socfpga_defconfig
@@ -59,6 +59,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_LED=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_WD=y
 CONFIG_CMD_BAREBOX_UPDATE=y
 CONFIG_CMD_FIRMWARELOAD=y
 CONFIG_CMD_OF_NODE=y
@@ -73,15 +74,22 @@ CONFIG_OF_BAREBOX_ENV_IN_FS=y
 CONFIG_DRIVER_SERIAL_NS16550=y
 CONFIG_DRIVER_NET_DESIGNWARE=y
 CONFIG_DRIVER_NET_DESIGNWARE_SOCFPGA=y
+CONFIG_MTD=y
+CONFIG_NAND=y
+CONFIG_MTD_NAND_DENALI=y
+CONFIG_MTD_NAND_DENALI_DT=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_SPI_CADENCE_QUADSPI=y
 CONFIG_MCI=y
 CONFIG_MCI_DW=y
-CONFIG_MFD_MC13XXX=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_LED_GPIO_OF=y
 CONFIG_LED_TRIGGERS=y
 CONFIG_EEPROM_AT25=y
 CONFIG_KEYBOARD_GPIO=y
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_DW=y
 CONFIG_GPIO_DESIGNWARE=y
 CONFIG_FIRMWARE_ALTERA_SOCFPGA=y
 CONFIG_FS_EXT4=y
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: socfpga: select GPIOLIB for non-xload
  2018-11-15  9:05 [PATCH 1/2] ARM: socfpga: update defconfig Steffen Trumtrar
@ 2018-11-15  9:05 ` Steffen Trumtrar
  2018-11-16  7:44 ` [PATCH 1/2] ARM: socfpga: update defconfig Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Steffen Trumtrar @ 2018-11-15  9:05 UTC (permalink / raw)
  To: Barebox List

SoCFPGA has GPIOs. Select it for the normal bootloader. For the xload barebox,
do not select it to not waste space.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/mach-socfpga/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 65097b676a6f..3d8fc8ba42a9 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -21,6 +21,7 @@ config ARCH_SOCFPGA_CYCLONE5
 	select HAVE_PBL_MULTI_IMAGES
 	select OFDEVICE if !ARCH_SOCFPGA_XLOAD
 	select OFTREE if !ARCH_SOCFPGA_XLOAD
+	select GPIOLIB if !ARCH_SOCFPGA_XLOAD
 
 config ARCH_SOCFPGA_ARRIA10
 	bool
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ARM: socfpga: update defconfig
  2018-11-15  9:05 [PATCH 1/2] ARM: socfpga: update defconfig Steffen Trumtrar
  2018-11-15  9:05 ` [PATCH 2/2] ARM: socfpga: select GPIOLIB for non-xload Steffen Trumtrar
@ 2018-11-16  7:44 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2018-11-16  7:44 UTC (permalink / raw)
  To: Steffen Trumtrar; +Cc: Barebox List

On Thu, Nov 15, 2018 at 10:05:29AM +0100, Steffen Trumtrar wrote:
> Select some more common drivers in the defconfig.
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
>  arch/arm/configs/socfpga_defconfig | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
> index 3a50bae8f2dc..d9688ca29ce3 100644
> --- a/arch/arm/configs/socfpga_defconfig
> +++ b/arch/arm/configs/socfpga_defconfig
> @@ -59,6 +59,7 @@ CONFIG_CMD_GPIO=y
>  CONFIG_CMD_LED=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_LED_TRIGGER=y
> +CONFIG_CMD_WD=y
>  CONFIG_CMD_BAREBOX_UPDATE=y
>  CONFIG_CMD_FIRMWARELOAD=y
>  CONFIG_CMD_OF_NODE=y
> @@ -73,15 +74,22 @@ CONFIG_OF_BAREBOX_ENV_IN_FS=y
>  CONFIG_DRIVER_SERIAL_NS16550=y
>  CONFIG_DRIVER_NET_DESIGNWARE=y
>  CONFIG_DRIVER_NET_DESIGNWARE_SOCFPGA=y
> +CONFIG_MTD=y
> +CONFIG_NAND=y
> +CONFIG_MTD_NAND_DENALI=y
> +CONFIG_MTD_NAND_DENALI_DT=y
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_SPI_CADENCE_QUADSPI=y
>  CONFIG_MCI=y
>  CONFIG_MCI_DW=y
> -CONFIG_MFD_MC13XXX=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
>  CONFIG_LED_GPIO_OF=y
>  CONFIG_LED_TRIGGERS=y
>  CONFIG_EEPROM_AT25=y
>  CONFIG_KEYBOARD_GPIO=y
> +CONFIG_WATCHDOG=y
> +CONFIG_WATCHDOG_DW=y
>  CONFIG_GPIO_DESIGNWARE=y
>  CONFIG_FIRMWARE_ALTERA_SOCFPGA=y
>  CONFIG_FS_EXT4=y
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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] 3+ messages in thread

end of thread, other threads:[~2018-11-16  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15  9:05 [PATCH 1/2] ARM: socfpga: update defconfig Steffen Trumtrar
2018-11-15  9:05 ` [PATCH 2/2] ARM: socfpga: select GPIOLIB for non-xload Steffen Trumtrar
2018-11-16  7:44 ` [PATCH 1/2] ARM: socfpga: update defconfig Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox