diff options
| author | Kevin Cernekee <cernekee@gmail.com> | 2014-12-25 12:49:00 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 11:21:35 -0400 |
| commit | 5f2d44591fb374ae346a3df682d722b68552adc2 (patch) | |
| tree | 22bd5d017c3b9fe25a25587ebb65b05abf37cbe1 | |
| parent | eb2236ea580bb21c954c889cc3dc05b3e98238cd (diff) | |
MIPS: bcm3384: Rename "bcm3384" target to "bmips"
This platform is configured primarily through device tree, and we can
reuse the same code to support a bunch of other chips. Change the name
to reflect this.
[ralf@linux-mips.org: Fix conflicts with other patches.]
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: jaedon.shin@gmail.com
Cc: abrestic@chromium.org
Cc: tglx@linutronix.de
Cc: jason@lakedaemon.net
Cc: jogo@openwrt.org
Cc: computersforpeace@gmail.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8838/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/Kbuild.platforms | 2 | ||||
| -rw-r--r-- | arch/mips/Kconfig | 12 | ||||
| -rw-r--r-- | arch/mips/bcm3384/Platform | 7 | ||||
| -rw-r--r-- | arch/mips/bmips/Makefile (renamed from arch/mips/bcm3384/Makefile) | 0 | ||||
| -rw-r--r-- | arch/mips/bmips/Platform | 7 | ||||
| -rw-r--r-- | arch/mips/bmips/dma.c (renamed from arch/mips/bcm3384/dma.c) | 0 | ||||
| -rw-r--r-- | arch/mips/bmips/irq.c (renamed from arch/mips/bcm3384/irq.c) | 0 | ||||
| -rw-r--r-- | arch/mips/bmips/setup.c (renamed from arch/mips/bcm3384/setup.c) | 2 | ||||
| -rw-r--r-- | arch/mips/boot/dts/brcm/Makefile | 2 | ||||
| -rw-r--r-- | arch/mips/configs/bmips_be_defconfig (renamed from arch/mips/configs/bcm3384_defconfig) | 2 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-bmips/dma-coherence.h (renamed from arch/mips/include/asm/mach-bcm3384/dma-coherence.h) | 6 |
11 files changed, 20 insertions, 20 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 86c63d229038..39cf40da5f14 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms | |||
| @@ -4,9 +4,9 @@ platforms += alchemy | |||
| 4 | platforms += ar7 | 4 | platforms += ar7 |
| 5 | platforms += ath25 | 5 | platforms += ath25 |
| 6 | platforms += ath79 | 6 | platforms += ath79 |
| 7 | platforms += bcm3384 | ||
| 8 | platforms += bcm47xx | 7 | platforms += bcm47xx |
| 9 | platforms += bcm63xx | 8 | platforms += bcm63xx |
| 9 | platforms += bmips | ||
| 10 | platforms += cavium-octeon | 10 | platforms += cavium-octeon |
| 11 | platforms += cobalt | 11 | platforms += cobalt |
| 12 | platforms += dec | 12 | platforms += dec |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index faa6fb7b7805..3d759c590f59 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -134,8 +134,8 @@ config ATH79 | |||
| 134 | help | 134 | help |
| 135 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. | 135 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. |
| 136 | 136 | ||
| 137 | config BCM3384 | 137 | config BMIPS_GENERIC |
| 138 | bool "Broadcom BCM3384 based boards" | 138 | bool "Broadcom Generic BMIPS kernel" |
| 139 | select BOOT_RAW | 139 | select BOOT_RAW |
| 140 | select NO_EXCEPT_FILL | 140 | select NO_EXCEPT_FILL |
| 141 | select USE_OF | 141 | select USE_OF |
| @@ -155,10 +155,10 @@ config BCM3384 | |||
| 155 | select USB_OHCI_BIG_ENDIAN_DESC | 155 | select USB_OHCI_BIG_ENDIAN_DESC |
| 156 | select USB_OHCI_BIG_ENDIAN_MMIO | 156 | select USB_OHCI_BIG_ENDIAN_MMIO |
| 157 | help | 157 | help |
| 158 | Support for BCM3384 based boards. BCM3384/BCM33843 is a cable modem | 158 | Build a generic DT-based kernel image that boots on select |
| 159 | chipset with a Linux application processor that is often used to | 159 | BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top |
| 160 | provide Samba services, a CUPS print server, and/or advanced routing | 160 | box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN |
| 161 | features. | 161 | must be set appropriately for your board. |
| 162 | 162 | ||
| 163 | config BCM47XX | 163 | config BCM47XX |
| 164 | bool "Broadcom BCM47XX based boards" | 164 | bool "Broadcom BCM47XX based boards" |
diff --git a/arch/mips/bcm3384/Platform b/arch/mips/bcm3384/Platform deleted file mode 100644 index 8e1ca0819e1b..000000000000 --- a/arch/mips/bcm3384/Platform +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Broadcom BCM3384 boards | ||
| 3 | # | ||
| 4 | platform-$(CONFIG_BCM3384) += bcm3384/ | ||
| 5 | cflags-$(CONFIG_BCM3384) += \ | ||
| 6 | -I$(srctree)/arch/mips/include/asm/mach-bcm3384/ | ||
| 7 | load-$(CONFIG_BCM3384) := 0xffffffff80010000 | ||
diff --git a/arch/mips/bcm3384/Makefile b/arch/mips/bmips/Makefile index a393955cba08..a393955cba08 100644 --- a/arch/mips/bcm3384/Makefile +++ b/arch/mips/bmips/Makefile | |||
diff --git a/arch/mips/bmips/Platform b/arch/mips/bmips/Platform new file mode 100644 index 000000000000..5f127fd7f4b5 --- /dev/null +++ b/arch/mips/bmips/Platform | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # | ||
| 2 | # Broadcom Generic BMIPS kernel | ||
| 3 | # | ||
| 4 | platform-$(CONFIG_BMIPS_GENERIC) += bmips/ | ||
| 5 | cflags-$(CONFIG_BMIPS_GENERIC) += \ | ||
| 6 | -I$(srctree)/arch/mips/include/asm/mach-bmips/ | ||
| 7 | load-$(CONFIG_BMIPS_GENERIC) := 0xffffffff80010000 | ||
diff --git a/arch/mips/bcm3384/dma.c b/arch/mips/bmips/dma.c index ea42012fd4f5..ea42012fd4f5 100644 --- a/arch/mips/bcm3384/dma.c +++ b/arch/mips/bmips/dma.c | |||
diff --git a/arch/mips/bcm3384/irq.c b/arch/mips/bmips/irq.c index fd94fe849af6..fd94fe849af6 100644 --- a/arch/mips/bcm3384/irq.c +++ b/arch/mips/bmips/irq.c | |||
diff --git a/arch/mips/bcm3384/setup.c b/arch/mips/bmips/setup.c index d84b8400b874..5099109b2325 100644 --- a/arch/mips/bcm3384/setup.c +++ b/arch/mips/bmips/setup.c | |||
| @@ -33,7 +33,7 @@ void __init prom_free_prom_memory(void) | |||
| 33 | 33 | ||
| 34 | const char *get_system_type(void) | 34 | const char *get_system_type(void) |
| 35 | { | 35 | { |
| 36 | return "BCM3384"; | 36 | return "Generic BMIPS kernel"; |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void __init plat_time_init(void) | 39 | void __init plat_time_init(void) |
diff --git a/arch/mips/boot/dts/brcm/Makefile b/arch/mips/boot/dts/brcm/Makefile index a353d4ebae12..530ed232c001 100644 --- a/arch/mips/boot/dts/brcm/Makefile +++ b/arch/mips/boot/dts/brcm/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | dtb-$(CONFIG_BCM3384) += bcm93384wvg.dtb | 1 | dtb-$(CONFIG_BMIPS_GENERIC) += bcm93384wvg.dtb |
| 2 | 2 | ||
| 3 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | 3 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) |
| 4 | 4 | ||
diff --git a/arch/mips/configs/bcm3384_defconfig b/arch/mips/configs/bmips_be_defconfig index 88711c28ff32..36af5af4ce1c 100644 --- a/arch/mips/configs/bcm3384_defconfig +++ b/arch/mips/configs/bmips_be_defconfig | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | CONFIG_BCM3384=y | 1 | CONFIG_BMIPS_GENERIC=y |
| 2 | CONFIG_HIGHMEM=y | 2 | CONFIG_HIGHMEM=y |
| 3 | CONFIG_SMP=y | 3 | CONFIG_SMP=y |
| 4 | CONFIG_NR_CPUS=4 | 4 | CONFIG_NR_CPUS=4 |
diff --git a/arch/mips/include/asm/mach-bcm3384/dma-coherence.h b/arch/mips/include/asm/mach-bmips/dma-coherence.h index a3be8e50e1f0..65e95b03ef92 100644 --- a/arch/mips/include/asm/mach-bcm3384/dma-coherence.h +++ b/arch/mips/include/asm/mach-bmips/dma-coherence.h | |||
| @@ -12,8 +12,8 @@ | |||
| 12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. |
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #ifndef __ASM_MACH_BCM3384_DMA_COHERENCE_H | 15 | #ifndef __ASM_MACH_BMIPS_DMA_COHERENCE_H |
| 16 | #define __ASM_MACH_BCM3384_DMA_COHERENCE_H | 16 | #define __ASM_MACH_BMIPS_DMA_COHERENCE_H |
| 17 | 17 | ||
| 18 | struct device; | 18 | struct device; |
| 19 | 19 | ||
| @@ -45,4 +45,4 @@ static inline int plat_device_is_coherent(struct device *dev) | |||
| 45 | return 0; | 45 | return 0; |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | #endif /* __ASM_MACH_BCM3384_DMA_COHERENCE_H */ | 48 | #endif /* __ASM_MACH_BMIPS_DMA_COHERENCE_H */ |
