Open Plonkbong opened 5 years ago
Hi i makes my commit message openwrt compatible.
For testing i add a lot of comments 4052-NAND-add-easybox904-bbt-byDTS-with-a-lot-of-comments.patch = https://pastebin.com/5frveXVk Here the resulting nand_bbt.c = https://pastebin.com/sFVZCEzi
The dmesg output looks like it should be full = https://pastebin.com/YJ899XSE filtered = https://pastebin.com/C8wxth7x
…msung-K9F4G08U0x;" to DTS
This patch was breaking all other devices with NAND-flash in past, because the different BBT-patern-matching will disable/enable by #define CUSTOMIZED_BBT 1 Now it ask first for the customized-samsung-K9F4G08U0x field from devicetree: ... nand@1 { customized-samsung-K9F4G08U0x; ...
Signed-off-by: Plonkbong plonkbong100@protonmail.com
Thanks for your contribution to OpenWrt!
To help keep the codebase consistent and readable, and to help people review your contribution, we ask you to follow the rules you find in the wiki at this link https://openwrt.org/submitting-patches
Please remove this message before posting the pull request.