mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM64: configs: enable SPI drivers
@ 2023-10-11  5:35 Marco Felsch
  2023-10-11  5:35 ` [PATCH 2/2] ARM64: configs: cleanup multi_v8_defconfig Marco Felsch
  2023-10-12 14:25 ` [PATCH 1/2] ARM64: configs: enable SPI drivers Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Felsch @ 2023-10-11  5:35 UTC (permalink / raw)
  To: barebox

Enable NXP (Q)SPI drivers since NOR flashes are often used as:
 - bootsource and/or
 - storage medium e.g. for barebox-state

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/configs/multi_v8_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/multi_v8_defconfig b/arch/arm/configs/multi_v8_defconfig
index b18498c0a13f..48fc96a79447 100644
--- a/arch/arm/configs/multi_v8_defconfig
+++ b/arch/arm/configs/multi_v8_defconfig
@@ -159,7 +159,8 @@ CONFIG_NET_USB_ASIX=y
 CONFIG_USB_NET_AX88179_178A=y
 CONFIG_NET_USB_SMSC95XX=y
 CONFIG_NET_USB_RTL8152=y
-# CONFIG_SPI is not set
+CONFIG_DRIVER_SPI_IMX=y
+CONFIG_SPI_NXP_FLEXSPI=y
 CONFIG_I2C=y
 CONFIG_I2C_GPIO=y
 CONFIG_I2C_IMX=y
-- 
2.39.2




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

* [PATCH 2/2] ARM64: configs: cleanup multi_v8_defconfig
  2023-10-11  5:35 [PATCH 1/2] ARM64: configs: enable SPI drivers Marco Felsch
@ 2023-10-11  5:35 ` Marco Felsch
  2023-10-12 14:25 ` [PATCH 1/2] ARM64: configs: enable SPI drivers Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Felsch @ 2023-10-11  5:35 UTC (permalink / raw)
  To: barebox

Cleanup the defconfig to keep only the required config symbols. The
cleanup is done by running:
 1) make ARCH=arm multi_v8_defconfig
 2) make ARCH=arm savedefconfig
 3) mv defconfig arch/arm/configs/multi_v8_defconfig

This sequence also sort the config entries accordingly.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/configs/multi_v8_defconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/configs/multi_v8_defconfig b/arch/arm/configs/multi_v8_defconfig
index 48fc96a79447..9c538e698d08 100644
--- a/arch/arm/configs/multi_v8_defconfig
+++ b/arch/arm/configs/multi_v8_defconfig
@@ -176,11 +176,11 @@ CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_DUAL_ROLE=y
 CONFIG_USB_EHCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_USB_ONBOARD_HUB=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_SERIAL=y
 CONFIG_USB_GADGET_FASTBOOT=y
 CONFIG_USB_GADGET_MASS_STORAGE=y
-CONFIG_USB_ONBOARD_HUB=y
 CONFIG_VIDEO=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_DRIVER_VIDEO_BOCHS_PCI=y
@@ -212,7 +212,6 @@ CONFIG_HW_RANDOM_VIRTIO=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_ZYNQ=y
 CONFIG_NVMEM_RMEM=y
-CONFIG_IMX_OCOTP=y
 CONFIG_RAVE_SP_EEPROM=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED=y
@@ -238,7 +237,6 @@ CONFIG_FS_TFTP=y
 CONFIG_FS_NFS=y
 CONFIG_FS_FAT=y
 CONFIG_FS_FAT_WRITE=y
-CONFIG_FS_FAT_LFN=y
 CONFIG_FS_BPKFS=y
 CONFIG_FS_UIMAGEFS=y
 CONFIG_FS_PSTORE=y
-- 
2.39.2




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

* Re: [PATCH 1/2] ARM64: configs: enable SPI drivers
  2023-10-11  5:35 [PATCH 1/2] ARM64: configs: enable SPI drivers Marco Felsch
  2023-10-11  5:35 ` [PATCH 2/2] ARM64: configs: cleanup multi_v8_defconfig Marco Felsch
@ 2023-10-12 14:25 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2023-10-12 14:25 UTC (permalink / raw)
  To: Marco Felsch; +Cc: barebox

On Wed, Oct 11, 2023 at 07:35:50AM +0200, Marco Felsch wrote:
> Enable NXP (Q)SPI drivers since NOR flashes are often used as:
>  - bootsource and/or
>  - storage medium e.g. for barebox-state
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
>  arch/arm/configs/multi_v8_defconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/configs/multi_v8_defconfig b/arch/arm/configs/multi_v8_defconfig
> index b18498c0a13f..48fc96a79447 100644
> --- a/arch/arm/configs/multi_v8_defconfig
> +++ b/arch/arm/configs/multi_v8_defconfig
> @@ -159,7 +159,8 @@ CONFIG_NET_USB_ASIX=y
>  CONFIG_USB_NET_AX88179_178A=y
>  CONFIG_NET_USB_SMSC95XX=y
>  CONFIG_NET_USB_RTL8152=y
> -# CONFIG_SPI is not set
> +CONFIG_DRIVER_SPI_IMX=y
> +CONFIG_SPI_NXP_FLEXSPI=y
>  CONFIG_I2C=y
>  CONFIG_I2C_GPIO=y
>  CONFIG_I2C_IMX=y
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2023-10-12 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11  5:35 [PATCH 1/2] ARM64: configs: enable SPI drivers Marco Felsch
2023-10-11  5:35 ` [PATCH 2/2] ARM64: configs: cleanup multi_v8_defconfig Marco Felsch
2023-10-12 14:25 ` [PATCH 1/2] ARM64: configs: enable SPI drivers Sascha Hauer

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