ramips: add NMBM support for ipTIME AX2004M
authorSungbo Eo <mans0n@gorani.run>
Sun, 17 Dec 2023 16:06:21 +0000 (01:06 +0900)
committerSungbo Eo <mans0n@gorani.run>
Sun, 10 Mar 2024 07:32:14 +0000 (16:32 +0900)
commit7e04a611bc798c27a0dc584959d2c2bdf64da05f
tree7bea2100184861f9d62818276d61dd9d61b33848
parent97f542238a23a1c8461b40dfb26d9213826d8e78
ramips: add NMBM support for ipTIME AX2004M

AX2004M uses NMBM on its NAND flash, but it was not enabled in DTS as the
device support [1] had been added before NMBM feature in mtk_bmt driver [2].
Let's enable it now.

With this change, there is a low possibility of boot failure after
sysupgrade from older versions. As AX2004M already has gone through
two stable releases in the meantime, it would be safe to warn users
by bumping DEVICE_COMPAT_VERSION.

[1] 37753f34ac68 ("ramips: add support for ipTIME AX2004M")
[2] 06382d1af7b2 ("kernel: add support for mediatek NMBM flash mapping support")

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ramips/dts/mt7621_iptime_ax2004m.dts
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/05_compat-version