]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
media: atomisp: Drop VIDEO_ATOMISP_ISP2401 Kconfig option
authorHans de Goede <hdegoede@redhat.com>
Sat, 12 Aug 2023 13:35:23 +0000 (15:35 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 27 Sep 2023 07:40:04 +0000 (09:40 +0200)
Drop the VIDEO_ATOMISP_ISP2401 Kconfig option and the -DISP2401
cflags.

This is no longer necessary since all ISP2400 vs ISP2401 differences
are now dealt with at runtime.

Many thanks to Kate Hsuan for all her work on this.

Link: https://lore.kernel.org/r/20230812133523.355581-2-hdegoede@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/Kconfig
drivers/staging/media/atomisp/Makefile
drivers/staging/media/atomisp/TODO

index 5d8917160d41bf8e162492dc1180f4a218055239..8197b345a5a18b20c0385d0f41f0e00f0f24b2ec 100644 (file)
@@ -26,18 +26,6 @@ config VIDEO_ATOMISP
          To compile this driver as a module, choose M here: the
          module will be called atomisp
 
-config VIDEO_ATOMISP_ISP2401
-       bool "Use Intel Atom ISP on Cherrytail/Anniedale (ISP2401)"
-       depends on VIDEO_ATOMISP
-       help
-         Enable support for Atom ISP2401-based boards.
-
-         Select this option for  Anniedale (Merrifield+ / Moorefield)
-         and Cherrytrail SoCs.
-
-         Disabling it enables support for Atom ISP2400-based boards
-         (Merrifield and Baytrail SoCs).
-
 if VIDEO_ATOMISP
 source "drivers/staging/media/atomisp/i2c/Kconfig"
 endif
index dcf469bf1cb42f97ee26940468035080c376fe2a..fcd3e51ae9ce92094e3a3575357453f583f48590 100644 (file)
@@ -301,8 +301,4 @@ DEFINES := -DHRT_HW -DHRT_ISP_CSS_CUSTOM_HOST -DHRT_USE_VIR_ADDRS -D__HOST__
 #DEFINES += -DPUNIT_CAMERA_BUSY
 #DEFINES += -DUSE_KMEM_CACHE
 
-ifeq ($(CONFIG_VIDEO_ATOMISP_ISP2401),y)
-DEFINES += -DISP2401
-endif
-
 ccflags-y += $(INCLUDES) $(DEFINES) -fno-common
index ecf8ba67b7afafd2814b2f3b901c07163de5d6df..d99cc898cd99128e5c5bdade55422192a7148f81 100644 (file)
@@ -60,9 +60,6 @@ TODO
 
 2. Items which SHOULD also be fixed eventually:
 
-* Remove VIDEO_ATOMISP_ISP2401, making the driver to auto-detect the
-  register address differences between ISP2400 and ISP2401
-
 * The driver is intended to drive the PCI exposed versions of the device.
   It will not detect those devices enumerated via ACPI as a field of the
   i915 GPU driver (only a problem on BYT).