ramips: fix RBM11G partitioning
authorThibaut VARÈNE <[email protected]>
Sat, 4 Aug 2018 13:44:26 +0000 (15:44 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:47:48 +0000 (17:47 +0100)
commit5a2d7ba04df39551231dbd7ae0fcb091113f9a33
tree9185398dc59fab3edcda53bb3b386c8517ceb479
parentec50c3c2d3f3f608fca7e14d29d058bd51d0a5ee
ramips: fix RBM11G partitioning

This patch improves faf64056ddd46992a75b1e277d94541c7251035c by correcting
the partition scheme for the "RouterBoot" section of the flash.

The partition scheme initially submitted is incorrect and does not reflect
the actual flash structure.

The "RouterBoot" section (name matching OEM) is subdivided in several
static segments, as they are on ar71xx RB devices albeit with different
offsets and sizes.
The naming convention from ar71xx has been preserved, except for the
bootloaders which are named "bootloader1" and "bootloader2" to avoid
confusion with the master "RouterBoot" partition.
The preferred 'fixed-partitions' DTS node syntax is used, with nesting
support as introduced in 2a598bbaa3.
"partition" is used for node names, with associated "label" to match
policy set by 6dd94c2781.

Leave a note in DTS to explain how the original author selected the SPI speed.

Tested-by: Tobias Schramm <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
Reviewed-by: Rafał Miłecki <[email protected]>
(backported from bbe2cf657ca72119288a441ca3337a503aa17f80)
target/linux/ramips/dts/RBM11G.dts