define BANANAPI_BPI_R3_LINUX_CONFIG_FIXUPS
	$(call KCONFIG_ENABLE_OPT,CONFIG_ARCH_MEDIATEK)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MACH_MT7986)
	$(call KCONFIG_ENABLE_OPT,CONFIG_PINCTRL_MT7986)
	$(call KCONFIG_ENABLE_OPT,CONFIG_SERIAL_8250_MT6577)
	$(call KCONFIG_SET_OPT,CONFIG_I2C_GPIO,y)
	$(call KCONFIG_SET_OPT,CONFIG_MTK_THERMAL,m)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MTK_UART)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MEDIATEK_WATCHDOG)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MEDIATEK_GE_PHY)
	$(call KCONFIG_ENABLE_OPT,CONFIG_REALTEK_PHY)
	$(call KCONFIG_SET_OPT,CONFIG_AIR_EN8811H_PHY,m)
	$(call KCONFIG_ENABLE_OPT,CONFIG_NET_VENDOR_MEDIATEK)
	$(call KCONFIG_ENABLE_OPT,CONFIG_NET_MEDIATEK_SOC)
	$(call KCONFIG_SET_OPT,CONFIG_NET_DSA_MT7530,m)
	$(call KCONFIG_SET_OPT,CONFIG_MT7915E,m)
	$(call KCONFIG_SET_OPT,CONFIG_PCIE_MEDIATEK_GEN3,m)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MTK_SCPSYS)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MMC_MTK)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MTK_HSDMA)
	$(call KCONFIG_SET_OPT,CONFIG_MT7915E,m)
	$(call KCONFIG_ENABLE_OPT,CONFIG_MT798X_WMAC)
	$(call KCONFIG_SET_OPT,CONFIG_MTK_SOC_THERMAL,m)
	$(call KCONFIG_SET_OPT,CONFIG_I2C_MT65XX,m)
	$(call KCONFIG_SET_OPT,CONFIG_USB_XHCI_MTK,m)
	$(call KCONFIG_SET_OPT,CONFIG_PHY_MTK_TPHY,m)
	$(call KCONFIG_SET_OPT,CONFIG_PHY_MTK_XSPHY,m)
	$(call KCONFIG_SET_OPT,CONFIG_REGULATOR_GPIO,y)
	$(call KCONFIG_SET_OPT,CONFIG_REGULATOR_MT6380,m)
	$(call KCONFIG_SET_OPT,CONFIG_PWM_MEDIATEK,m)
	$(call KCONFIG_SET_OPT,CONFIG_SENSORS_PWM_FAN,m)
	$(call KCONFIG_SET_OPT,CONFIG_NVMEM_MTK_EFUSE,m)
	$(call KCONFIG_SET_OPT,CONFIG_CRYPTO_DEV_SAFEXCEL,m)
endef

$(eval $(ix-board))
$(eval $(generic-package))
