mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
5761aa4d9e
Assuming cmdlinepart is only one level deep partition scheme and that
static partition are also defined in DTS, we can assign an of_node for
partition declared from bootargs.
The cmdlinepart parser is the first parser checked and if it does find
some partition declared in the bootargs, every other parser is ignored.
This means that the fixed-partition parser is ignored and an of_node for
the mtd is never assigned.
Fix this by searching a defined of_node using a similar fixed_partition
parsing logig, check if a partition is present with the same label, check
that it has the same offset and size and finally assign an of_node to the
mtd. The NVMEM can now find the of_node for the mtd and correctly works.
Fixes:
|
||
---|---|---|
.. | ||
204-module_strip.patch | ||
205-kconfig-exit.patch | ||
210-darwin_scripts_include.patch | ||
211-darwin-uuid-typedef-clash.patch | ||
212-tools_portability.patch | ||
214-spidev_h_portability.patch | ||
220-arm-gc_sections.patch | ||
221-module_exports.patch | ||
230-openwrt_lzma_options.patch | ||
249-udp-tunnel-selection.patch | ||
250-netfilter_depends.patch | ||
251-sound_kconfig.patch | ||
259-regmap_dynamic.patch | ||
260-crypto_test_dependencies.patch | ||
260-lib-arc4-unhide.patch | ||
280-rfkill-stubs.patch | ||
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch | ||
301-mips_image_cmdline_hack.patch | ||
321-powerpc_crtsavres_prereq.patch | ||
400-block-fit-partition-parser.patch | ||
400-unlock_mx25l6406e_with_4bit_block_protect.patch | ||
421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch | ||
531-debloat_lzma.patch | ||
550-loop-Report-EOPNOTSUPP-properly.patch | ||
640-bridge-only-accept-EAP-locally.patch | ||
645-netfilter-connmark-introduce-set-dscpmark.patch | ||
647-netfilter-flow-acct.patch | ||
650-netfilter-add-xt_OFFLOAD-target.patch | ||
651-wireless_mesh_header.patch | ||
660-fq_codel_defaults.patch | ||
661-use_fq_codel_by_default.patch | ||
662-remove_pfifo_fast.patch | ||
700-swconfig_switch_drivers.patch | ||
703-add_vsc8504_support.patch | ||
710-net-dsa-mv88e6xxx-default-VID-1.patch | ||
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch | ||
721-phy_packets.patch | ||
760-net-usb-r8152-add-LED-configuration-from-OF.patch | ||
761-dt-bindings-net-add-RTL8152-binding-documentation.patch | ||
773-bgmac-add-srab-switch.patch | ||
901-debloat_sock_diag.patch | ||
902-debloat_proc.patch | ||
904-debloat_dma_buf.patch | ||
910-kobject_uevent.patch | ||
911-kobject_add_broadcast_uevent.patch | ||
921-always-create-console-node-in-initramfs.patch |