ramips: switch parser of trx for mt76x8 subtarget
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 12 Feb 2022 07:07:05 +0000 (16:07 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 6 Mar 2022 19:40:35 +0000 (20:40 +0100)
This patch enable parser_trx and disable mtdsplit_trx for mt76x8
subtarget.
The trx format is used only on Buffalo WCR-1166DS in mt76x8 subtarget
and the parser need to be switched to parser_trx to use the custom magic
number in the header for WCR-1166DS.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
target/linux/ramips/mt76x8/config-5.10

index 5dc7d5ffb3ab2a49d1f89986c6a5b6e6e9c6647a..d8d70b2c2977b0c867617635e8dc10de6b118299 100644 (file)
@@ -109,10 +109,10 @@ CONFIG_MODULES_USE_ELF_REL=y
 CONFIG_MT7621_WDT=y
 # CONFIG_MTD_CFI_INTELEXT is not set
 CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_PARSER_TRX=y
 CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_SPLIT_TPLINK_FW=y
-CONFIG_MTD_SPLIT_TRX_FW=y
 CONFIG_MTD_SPLIT_UIMAGE_FW=y
 CONFIG_NEED_DMA_MAP_STATE=y
 CONFIG_NEED_PER_CPU_KM=y