mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow parsing more than one memory node
@ 2020-03-16 11:00 Clement Leger
  2020-03-16 11:00 ` [PATCH 1/2] of: base: parse all available memory nodes Clement Leger
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Clement Leger @ 2020-03-16 11:00 UTC (permalink / raw)
  To: Sascha Hauer, barebox; +Cc: Clement Leger

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.

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

 drivers/of/base.c | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)

-- 
2.15.0.276.g89ea799


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-06-18 10:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 11:00 [PATCH 0/2] Allow parsing more than one memory node Clement Leger
2020-03-16 11:00 ` [PATCH 1/2] of: base: parse all available memory nodes Clement Leger
2020-03-23 10:12   ` Sascha Hauer
2020-03-23 10:21     ` Clément Leger
2020-03-23 10:31       ` Ahmad Fatoum
2020-03-25  9:29         ` Sascha Hauer
2020-06-18 10:16           ` Ahmad Fatoum
2020-03-16 11:00 ` [PATCH 2/2] of: base: allow of_add_memory to be called multiple times Clement Leger
2020-03-25 17:27   ` [PATCH v2 0/2] Allow parsing more than one memory node Clement Leger
2020-03-25 17:27     ` [PATCH v2 1/2] of: base: allow of_add_memory to be called multiple times Clement Leger
2020-03-25 17:27     ` [PATCH v2 2/2] of: base: parse all available memory nodes Clement Leger
2020-03-30  5:31     ` [PATCH v2 0/2] Allow parsing more than one memory node Sascha Hauer
2020-03-17  7:35 ` [PATCH " Sam Ravnborg
2020-03-17  8:19   ` Clément Leger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox