mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC
PATCH v2 1/1 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.
---
v2: removed online leftover (Randy), added tag (Randy)
drivers/mtd/maps/Kconfig | 11 --- drivers/mtd/maps/Makefile | 1 - drivers/mtd/maps/physmap-bt1-rom.c | 125 ----------------------------- drivers/mtd/maps/physmap-bt1-rom.h | 17 ---- drivers/mtd/maps/physmap-core.c | 1 - 5 files changed, 155 deletions(-) delete mode 100644 drivers/mtd/maps/physmap-bt1-rom.c delete mode 100644 drivers/mtd/maps/physmap-bt1-rom.h
drivers/mtd/maps/Kconfig +0 -11
@@ -75,17 +75,6 @@ config MTD_PHYSMAP_OF physically into the CPU's memory. The mapping description here is taken from OF device tree. -config MTD_PHYSMAP_BT1_ROM - bool "Baikal-T1 Boot ROMs OF-based physical memory map handling" - depends on MTD_PHYSMAP_OF - depends on MIPS_BAIKAL_T1 || COMPILE_TEST - select MTD_COMPLEX_MAPPINGS - select MULTIPLEXER - select MUX_MMIO - help - This provides some extra DT physmap parsing for the Baikal-T1 - platforms, some detection and setting up ROMs-specific accessors. - config MTD_PHYSMAP_VERSATILE bool "ARM Versatile OF-based physical memory map handling" depends on MTD_PHYSMAP_OF
drivers/mtd/maps/Makefile +0 -1
@@ -19,7 +19,6 @@ obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o obj-$(CONFIG_MTD_PHYSMAP) += physmap.o physmap-y := physmap-core.o -physmap-$(CONFIG_MTD_PHYSMAP_BT1_ROM) += physmap-bt1-rom.o physmap-$(CONFIG_MTD_PHYSMAP_VERSATILE) += physmap-versatile.o physmap-$(CONFIG_MTD_PHYSMAP_GEMINI) += physmap-gemini.o physmap-$(CONFIG_MTD_PHYSMAP_IXP4XX) += physmap-ixp4xx.o
drivers/mtd/maps/physmap-bt1-rom.c deleted +0 -125
125 lines not on this page · raw message
drivers/mtd/maps/physmap-bt1-rom.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#include <linux/mtd/map.h> -#include <linux/of.h> - -#ifdef CONFIG_MTD_PHYSMAP_BT1_ROM -int of_flash_probe_bt1_rom (struct platform_device *pdev, -struct device_node *np, -struct map_info *map); -#else -static inline -int of_flash_probe_bt1_rom (struct platform_device *pdev, -struct device_node *np, -struct map_info *map) -{ -return 0 ; -} -#endif
drivers/mtd/maps/physmap-core.c +0 -1
@@ -42,7 +42,6 @@#include <linux/pm_runtime.h> #include <linux/gpio/consumer.h> -#include "physmap-bt1-rom.h" #include "physmap-gemini.h" #include "physmap-ixp4xx.h" #include "physmap-versatile.h"
Signature · 1 line
2.50.1
Quoted 2 lines · Andy Shevchenko
As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.
Can this be moved forward?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Miquel Raynal
maintainerQuoted 5 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko
As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.
Can this be moved forward?
Yes, I reviewed it and I plan to apply it. I will do a round of applied/thanks soon.
Cheers,
Miquèl
Quoted 10 lines · Miquel Raynal
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko
As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.
Can this be moved forward?
Yes, I reviewed it and I plan to apply it. I will do a round of applied/thanks soon.
Thank you!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 4 lines · Andy Shevchenko
As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.
Applied to mtd/next, thanks!
[1/1] mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC
commit: 16d68d10f5b934db7ee02a1e28cbc539905c64b8
Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl