Skip to contentSkip to conversation

ARM: tegra: refactor common Kconfig options

PATCH New Stephen Warren 4 participants 5 messages Nov 23, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: tegra: refactor common Kconfig options

From: Stephen Warren <[email protected]>

This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or architectures.

The lists of select statements are now also sorted for easy searching.

---
v2: Rebase on latest Kconfig changes in u-boot/master.

---
 arch/arm/mach-tegra/Kconfig | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
arch/arm/mach-tegra/Kconfig +20 -18
index de2454e691d2..75b9208a33e3 100644
@@ -1,18 +1,27 @@
 if TEGRA
 
-config TEGRA_ARMV7_COMMON
-	bool "Tegra 32-bit"
-	select SUPPORT_SPL
-	select SPL
-	select OF_CONTROL
-	select CPU_V7
+config TEGRA_COMMON
+	bool "Tegra common options"
 	select DM
-	select DM_SPI_FLASH
-	select DM_SERIAL
-	select DM_I2C
-	select DM_SPI
 	select DM_GPIO
+	select DM_I2C
 	select DM_KEYBOARD
+	select DM_SERIAL
+	select DM_SPI
+	select DM_SPI_FLASH
+	select OF_CONTROL
+
+config TEGRA_ARMV7_COMMON
+	bool "Tegra 32-bit common options"
+	select CPU_V7
+	select SPL
+	select SUPPORT_SPL
+	select TEGRA_COMMON
+
+config TEGRA_ARMV8_COMMON
+	bool "Tegra 64-bit common options"
+	select ARM64
+	select TEGRA_COMMON
 
 choice
 	prompt "Tegra SoC select"
@@ -36,14 +45,7 @@ config TEGRA124
 
 config TEGRA210
 	bool "Tegra210 family"
-	select OF_CONTROL
-	select ARM64
-	select DM
-	select DM_SPI_FLASH
-	select DM_SERIAL
-	select DM_I2C
-	select DM_SPI
-	select DM_GPIO
+	select TEGRA_ARMV8_COMMON
 
 endchoice
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 ARM: tegra: refactor common Kconfig options

Hi,

Quoted 7 lines · Stephen Warren

From: Stephen Warren <[email protected]>

This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or architectures.

The lists of select statements are now also sorted for easy searching.

Quoted 7 lines

---
v2: Rebase on latest Kconfig changes in u-boot/master.

---
 arch/arm/mach-tegra/Kconfig | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

I plan to pick this up along with the driver model PCI series for Tegra. Tom please let me know if you would rather grab this.

Regards,
Simon

#2 lore raw

PATCH v2 1/1 ARM: tegra: refactor common Kconfig options

Quoted 18 lines · Simon Glass

Hi,

Quoted 7 lines · Stephen Warren

From: Stephen Warren <[email protected]>

This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or architectures.

The lists of select statements are now also sorted for easy searching.

Quoted 7 lines

---
v2: Rebase on latest Kconfig changes in u-boot/master.

---
 arch/arm/mach-tegra/Kconfig | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
Quoted 4 lines

I plan to pick this up along with the driver model PCI series for Tegra. Tom please let me know if you would rather grab this.

Works for me, thanks.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151123/33e9ec22/attachment.sig>
#3 lore raw

PATCH v2 1/1 ARM: tegra: refactor common Kconfig options

Simon,

Quoted 33 lines

-----Original Message-----
From: Tom Rini [mailto:trini at konsulko.com]
Sent: Monday, November 23, 2015 12:08 PM
To: Simon Glass <[email protected]>
Cc: Stephen Warren <[email protected]>; U-Boot Mailing List <u- boot at lists.denx.de>; Tom Warren <[email protected]>; Stephen Warren <[email protected]>
Subject: Re: [PATCH V2] ARM: tegra: refactor common Kconfig options

* PGP Signed by an unknown key

Quoted 3 lines · Simon Glass

Hi,

On 23 November 2015 at 10:32, Stephen Warren <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines

From: Stephen Warren <[email protected]>

This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or

architectures.

Quoted 12 lines
Quoted 11 lines

The lists of select statements are now also sorted for easy searching.

---
v2: Rebase on latest Kconfig changes in u-boot/master.

---
 arch/arm/mach-tegra/Kconfig | 38
++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
Quoted 6 lines
Quoted 4 lines

I plan to pick this up along with the driver model PCI series for Tegra. Tom please let me know if you would rather grab this.

Works for me, thanks.

If you (perhaps) meant me (for Tegra), it also works for me to have this go in via DM. ;)

Thanks

Tom
--
nvpublic

Quoted 6 lines

--
Tom

* Unknown Key
* 0x56D6FECD

#4 lore raw

PATCH v2 1/1 ARM: tegra: refactor common Kconfig options

Quoted 35 lines · Tom Warren

Simon,

Quoted 33 lines

-----Original Message-----
From: Tom Rini [mailto:trini at konsulko.com]
Sent: Monday, November 23, 2015 12:08 PM
To: Simon Glass <[email protected]>
Cc: Stephen Warren <[email protected]>; U-Boot Mailing List <u- boot at lists.denx.de>; Tom Warren <[email protected]>; Stephen Warren <[email protected]>
Subject: Re: [PATCH V2] ARM: tegra: refactor common Kconfig options

* PGP Signed by an unknown key

Quoted 3 lines · Simon Glass

Hi,

On 23 November 2015 at 10:32, Stephen Warren <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines

From: Stephen Warren <[email protected]>

This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or

architectures.

Quoted 12 lines
Quoted 11 lines

The lists of select statements are now also sorted for easy searching.

---
v2: Rebase on latest Kconfig changes in u-boot/master.

---
 arch/arm/mach-tegra/Kconfig | 38
++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines

I plan to pick this up along with the driver model PCI series for Tegra. Tom please let me know if you would rather grab this.

Works for me, thanks.

If you (perhaps) meant me (for Tegra), it also works for me to have this go in via DM. ;)

oops, thanks :)

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151123/2a82a923/attachment.sig>