Skip to content

Commit 16d68d1

Browse files
andy-shevmiquelraynal
authored andcommitted
mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC
As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code. Link: https://lore.kernel.org/lkml/22b92ddf-6321-41b5-8073-f9c7064d3432@infradead.org/ [1] Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 43db636 commit 16d68d1

5 files changed

Lines changed: 0 additions & 155 deletions

File tree

drivers/mtd/maps/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,6 @@ config MTD_PHYSMAP_OF
7575
physically into the CPU's memory. The mapping description here is
7676
taken from OF device tree.
7777

78-
config MTD_PHYSMAP_BT1_ROM
79-
bool "Baikal-T1 Boot ROMs OF-based physical memory map handling"
80-
depends on MTD_PHYSMAP_OF
81-
depends on MIPS_BAIKAL_T1 || COMPILE_TEST
82-
select MTD_COMPLEX_MAPPINGS
83-
select MULTIPLEXER
84-
select MUX_MMIO
85-
help
86-
This provides some extra DT physmap parsing for the Baikal-T1
87-
platforms, some detection and setting up ROMs-specific accessors.
88-
8978
config MTD_PHYSMAP_VERSATILE
9079
bool "ARM Versatile OF-based physical memory map handling"
9180
depends on MTD_PHYSMAP_OF

drivers/mtd/maps/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
1919
obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o
2020
obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
2121
physmap-y := physmap-core.o
22-
physmap-$(CONFIG_MTD_PHYSMAP_BT1_ROM) += physmap-bt1-rom.o
2322
physmap-$(CONFIG_MTD_PHYSMAP_VERSATILE) += physmap-versatile.o
2423
physmap-$(CONFIG_MTD_PHYSMAP_GEMINI) += physmap-gemini.o
2524
physmap-$(CONFIG_MTD_PHYSMAP_IXP4XX) += physmap-ixp4xx.o

drivers/mtd/maps/physmap-bt1-rom.c

Lines changed: 0 additions & 125 deletions
This file was deleted.

drivers/mtd/maps/physmap-bt1-rom.h

Lines changed: 0 additions & 17 deletions
This file was deleted.

drivers/mtd/maps/physmap-core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#include <linux/pm_runtime.h>
4343
#include <linux/gpio/consumer.h>
4444

45-
#include "physmap-bt1-rom.h"
4645
#include "physmap-gemini.h"
4746
#include "physmap-ixp4xx.h"
4847
#include "physmap-versatile.h"

0 commit comments

Comments
 (0)