* [PATCH 1/3] ARM: configs: sama5_defconfig: update and remove unneeded options
@ 2021-02-05 12:27 nicolas.ferre
2021-02-05 12:27 ` [PATCH 2/3] ARM: configs: at91: DT/ATAG defconfig modifications nicolas.ferre
2021-02-05 12:27 ` [PATCH 3/3] ARM: configs: at91_dt_defconfig: add useful helper options nicolas.ferre
0 siblings, 2 replies; 3+ messages in thread
From: nicolas.ferre @ 2021-02-05 12:27 UTC (permalink / raw)
To: Alexandre Belloni, Ludovic Desroches
Cc: linux-kernel, linux-arm-kernel, Nicolas Ferre
From: Nicolas Ferre <nicolas.ferre@microchip.com>
Kconfig options are not present anymore or selected by default: remove
them from sama5_defconfig.
No change to kernel compilation expected.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
arch/arm/configs/sama5_defconfig | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index d3e0d4d79424..64573caa0ecd 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -1,7 +1,6 @@
# CONFIG_LOCALVERSION_AUTO is not set
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
-CONFIG_FHANDLE=y
CONFIG_NO_HZ_IDLE=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_LOG_BUF_SHIFT=14
@@ -19,10 +18,7 @@ CONFIG_SOC_SAMA5D2=y
CONFIG_SOC_SAMA5D3=y
CONFIG_SOC_SAMA5D4=y
# CONFIG_ATMEL_CLOCKSOURCE_PIT is not set
-CONFIG_AEABI=y
CONFIG_UACCESS_WITH_MEMCPY=y
-CONFIG_ZBOOT_ROM_TEXT=0x0
-CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
CONFIG_KEXEC=y
@@ -41,13 +37,7 @@ CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
-# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET6_XFRM_MODE_BEET is not set
CONFIG_IPV6_SIT_6RD=y
CONFIG_BRIDGE=m
CONFIG_BRIDGE_VLAN_FILTERING=y
@@ -68,7 +58,6 @@ CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_CFI=y
-CONFIG_MTD_M25P80=y
CONFIG_MTD_RAW_NAND=y
CONFIG_MTD_NAND_ATMEL=y
CONFIG_MTD_SPI_NOR=y
--
2.30.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] ARM: configs: at91: DT/ATAG defconfig modifications
2021-02-05 12:27 [PATCH 1/3] ARM: configs: sama5_defconfig: update and remove unneeded options nicolas.ferre
@ 2021-02-05 12:27 ` nicolas.ferre
2021-02-05 12:27 ` [PATCH 3/3] ARM: configs: at91_dt_defconfig: add useful helper options nicolas.ferre
1 sibling, 0 replies; 3+ messages in thread
From: nicolas.ferre @ 2021-02-05 12:27 UTC (permalink / raw)
To: Alexandre Belloni, Ludovic Desroches
Cc: linux-kernel, linux-arm-kernel, Nicolas Ferre
From: Nicolas Ferre <nicolas.ferre@microchip.com>
As all AT91 platforms are converted to DT for a long time, adapt the
defconfigs by:
- removing legacy CONFIG_ATAGS as a DT will always be provided;
- removing the CONFIG_ARM_APPENDED_DTB option on SAMA5 devices as the
vast majority of systems will use a DT-aware bootloader on these
devices.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
arch/arm/configs/at91_dt_defconfig | 1 +
arch/arm/configs/sama5_defconfig | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index e274f8c492d2..3e4adbd30a53 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -17,6 +17,7 @@ CONFIG_SOC_SAM9X60=y
# CONFIG_ATMEL_CLOCKSOURCE_PIT is not set
CONFIG_AEABI=y
CONFIG_UACCESS_WITH_MEMCPY=y
+# CONFIG_ATAGS is not set
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 64573caa0ecd..b72bd38a1c45 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -19,7 +19,7 @@ CONFIG_SOC_SAMA5D3=y
CONFIG_SOC_SAMA5D4=y
# CONFIG_ATMEL_CLOCKSOURCE_PIT is not set
CONFIG_UACCESS_WITH_MEMCPY=y
-CONFIG_ARM_APPENDED_DTB=y
+# CONFIG_ATAGS is not set
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
CONFIG_KEXEC=y
CONFIG_VFP=y
--
2.30.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] ARM: configs: at91_dt_defconfig: add useful helper options
2021-02-05 12:27 [PATCH 1/3] ARM: configs: sama5_defconfig: update and remove unneeded options nicolas.ferre
2021-02-05 12:27 ` [PATCH 2/3] ARM: configs: at91: DT/ATAG defconfig modifications nicolas.ferre
@ 2021-02-05 12:27 ` nicolas.ferre
1 sibling, 0 replies; 3+ messages in thread
From: nicolas.ferre @ 2021-02-05 12:27 UTC (permalink / raw)
To: Alexandre Belloni, Ludovic Desroches
Cc: linux-kernel, linux-arm-kernel, Nicolas Ferre
From: Nicolas Ferre <nicolas.ferre@microchip.com>
Add GPIO, SPI and I2C options that were missing from the
at91_dt_defconfig whereas they were in sama5_defconfig. It unifies all
AT91 defconfigs with same set of useful options.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
arch/arm/configs/at91_dt_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index 3e4adbd30a53..edd888214873 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -107,10 +107,13 @@ CONFIG_LEGACY_PTY_COUNT=4
CONFIG_SERIAL_ATMEL=y
CONFIG_SERIAL_ATMEL_CONSOLE=y
CONFIG_HW_RANDOM=y
+CONFIG_I2C_CHARDEV=y
CONFIG_I2C_AT91=y
CONFIG_I2C_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_ATMEL=y
+CONFIG_SPI_GPIO=y
+CONFIG_GPIO_SYSFS=y
CONFIG_SPI_ATMEL_QUADSPI=y
CONFIG_PINCTRL_MCP23S08=m
CONFIG_POWER_RESET=y
--
2.30.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-05 12:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05 12:27 [PATCH 1/3] ARM: configs: sama5_defconfig: update and remove unneeded options nicolas.ferre
2021-02-05 12:27 ` [PATCH 2/3] ARM: configs: at91: DT/ATAG defconfig modifications nicolas.ferre
2021-02-05 12:27 ` [PATCH 3/3] ARM: configs: at91_dt_defconfig: add useful helper options nicolas.ferre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).