ramips: mt7621: switch trx parser to parser_trx from mtdsplit

Switch trx parser to parser_trx of Linux Kernel from mtdsplit_trx to
split firmware partition using model-specific trx magic number on
some Buffalo devices.
This change is tested on Buffalo WSR-2533DHPL.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
INAGAKI Hiroshi 2024-03-27 18:54:47 +09:00 committed by Hauke Mehrtens
parent 47d9dcd01a
commit d529ac5da8
3 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@
};
partition@50000 {
compatible = "openwrt,trx";
compatible = "brcm,trx";
label = "firmware";
reg = <0x50000 0xf90000>;
};

View File

@ -159,7 +159,7 @@
};
partition@50000 {
compatible = "openwrt,trx";
compatible = "brcm,trx";
label = "firmware";
reg = <0x50000 0x7c0000>;
};

View File

@ -161,6 +161,7 @@ CONFIG_MTD_NAND_ECC_SW_HAMMING=y
CONFIG_MTD_NAND_MT7621=y
CONFIG_MTD_NAND_MTK_BMT=y
# CONFIG_MTD_PARSER_TPLINK_SAFELOADER is not set
CONFIG_MTD_PARSER_TRX=y
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_RAW_NAND=y
CONFIG_MTD_ROUTERBOOT_PARTS=y
@ -171,7 +172,6 @@ CONFIG_MTD_SPLIT_FIT_FW=y
CONFIG_MTD_SPLIT_MINOR_FW=y
CONFIG_MTD_SPLIT_SEAMA_FW=y
CONFIG_MTD_SPLIT_TPLINK_FW=y
CONFIG_MTD_SPLIT_TRX_FW=y
CONFIG_MTD_SPLIT_UIMAGE_FW=y
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_BEB_LIMIT=20