[PATCH 6/9] Nokia RX-51: Fix documentation how to enable UBI support

Pali Rohár
2022-09-04T01:30:34Z

Disable UBI fastmap support which is not supported by original Maemo 5
kernel and explicitly set UBI BEB limit to 10%, which is the value used by
original Maemo 5 kernel. U-Boot default value is 20%.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
doc/board/nokia/rx51.rst | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/board/nokia/rx51.rst b/doc/board/nokia/rx51.rst
index 061fe7677ee4..7c6647bce22e 100644
--- a/doc/board/nokia/rx51.rst
+++ b/doc/board/nokia/rx51.rst
@@ -158,8 +158,7 @@ UBIFS support add following lines into file ``configs/nokia_rx51_defconfig``::

CONFIG_CMD_UBI=y
CONFIG_CMD_UBIFS=y
- CONFIG_MTD_UBI_FASTMAP=y
- CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
+ CONFIG_MTD_UBI_BEB_LIMIT=10

Run in QEMU
-----------
--
2.20.1