Skip to content

Allow parsing more than one memory node

Clement Leger barebox 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Reorder patches
- Remove legacy "memory" node handling

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2of: base: allow of_add_memory to be called multiple timesdrivers/of/base.c+6 -50 replies
2/2of: base: parse all available memory nodesdrivers/of/base.c+16 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Allow parsing more than one memory node

Currently, barebox can only parse one memory node. This means that all other memory nodes (with device_type == "memory") will be ignored while parsing memory.
This patchset add a function of_probe_memory which will call of_add_memory for each found memory node. Additionally, of_add_memory has been modified to allow being called multiple times and correctly add all memory banks.

Changes v1 -> v2
- Reorder patches
- Remove legacy "memory" node handling

Clement Leger (2):
of: base: allow of_add_memory to be called multiple times
of: base: parse all available memory nodes

 drivers/of/base.c | 33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)
Signature · 7 lines
2.17.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox