public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] ARM: bcm2835: move CONFIG_BCM283* to Kconfig
@ 2016-03-24  4:54 Stephen Warren
  2016-03-24  4:54 ` [U-Boot] [PATCH 2/5] rpi: use constant "unknown board" DT filename Stephen Warren
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Stephen Warren @ 2016-03-24  4:54 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
This series depends on:

* My series beginning with "ARM: bcm283x: don't always define
  CONFIG_BCM2835"
* My patch "serial: add BCM283x mini UART driver".
* Alexander Graf's arm64 page table/cache series starting with
  "arm64: Add 32bit arm compatible dcache definitions".
---
 arch/arm/mach-bcm283x/Kconfig | 12 +++++++++++-
 include/configs/rpi.h         |  1 -
 include/configs/rpi_2.h       |  1 -
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
index 1a7baf69e590..dc6770437ec6 100644
--- a/arch/arm/mach-bcm283x/Kconfig
+++ b/arch/arm/mach-bcm283x/Kconfig
@@ -1,3 +1,11 @@
+config BCM2835
+	bool "Broadcom BCM2835 SoC support"
+	depends on ARCH_BCM283X
+
+config BCM2836
+	bool "Broadcom BCM2836 SoC support"
+	depends on ARCH_BCM283X
+
 menu "Broadcom BCM283X family"
 	depends on ARCH_BCM283X
 
@@ -7,12 +15,14 @@ choice
 
 config TARGET_RPI
 	bool "Raspberry Pi"
+	select BCM2835
 	select CPU_ARM1176
 
 config TARGET_RPI_2
 	bool "Raspberry Pi 2"
-	select CPU_V7
 	select ARMV7_LPAE
+	select BCM2836
+	select CPU_V7
 
 endchoice
 
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index a788ce42e44c..86422e390da2 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -7,7 +7,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_BCM2835
 #define CONFIG_SYS_CACHELINE_SIZE		32
 
 #include "rpi-common.h"
diff --git a/include/configs/rpi_2.h b/include/configs/rpi_2.h
index 13dc8de14315..0917e8650864 100644
--- a/include/configs/rpi_2.h
+++ b/include/configs/rpi_2.h
@@ -8,7 +8,6 @@
 #define __CONFIG_H
 
 #define CONFIG_SKIP_LOWLEVEL_INIT
-#define CONFIG_BCM2836
 #define CONFIG_SYS_CACHELINE_SIZE		64
 
 #include "rpi-common.h"
-- 
2.7.3

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

end of thread, other threads:[~2016-03-25  3:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24  4:54 [U-Boot] [PATCH 1/5] ARM: bcm2835: move CONFIG_BCM283* to Kconfig Stephen Warren
2016-03-24  4:54 ` [U-Boot] [PATCH 2/5] rpi: use constant "unknown board" DT filename Stephen Warren
2016-03-24  4:54 ` [U-Boot] [PATCH 3/5] rpi: add Raspberry Pi 3 board ID Stephen Warren
2016-03-24  4:54 ` [U-Boot] [PATCH 4/5] ARM: bcm2835: expand Kconfig target descriptions Stephen Warren
2016-03-24  4:54 ` [U-Boot] [PATCH 5/5] rpi: BCM2837 and Raspberry Pi 3 32-bit support Stephen Warren
2016-03-25  3:08   ` Stephen Warren

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