mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/6] bootm: split bootm_load_devicetree into two functions
Date: Wed,  6 Jun 2018 09:11:23 +0200	[thread overview]
Message-ID: <20180606071129.28884-1-s.hauer@pengutronix.de> (raw)

This splits bootm_load_devicetree into two functions to be able to load
the devicetree to an allocated address without having to specify a SDRAM
region, which is sometimes enough.

The rest of the series deals with getting rid of data->oftree as it's
not really clear who owns this field. If we are using
bootm_load_devicetree then this is just a reference to the SDRAM region,
which gets released by generic code, but sometimes it points to
allocated memory instead which is forgotten to be freed. So we get rid
of this field altogether.

Sascha

Sascha Hauer (6):
  ARM: bootm: drop usage of data->oftree
  ppc: bootm: rename variables
  ppc: bootm: remove unnecessary parameter
  ppc: bootm: Drop usage of data->oftree
  bootm: Drop data->oftree
  bootm: Split bootm_load_devicetree into two functions

 arch/arm/lib32/bootm.c    | 50 ++++++++++++++++-----------
 arch/arm/lib64/armlinux.c | 12 ++++++-
 arch/ppc/lib/ppclinux.c   | 52 ++++++++++++++--------------
 common/bootm.c            | 72 ++++++++++++++++++++++-----------------
 include/bootm.h           |  5 +--
 5 files changed, 111 insertions(+), 80 deletions(-)

-- 
2.17.1


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

             reply	other threads:[~2018-06-06  7:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06  7:11 Sascha Hauer [this message]
2018-06-06  7:11 ` [PATCH 1/6] ARM: bootm: drop usage of data->oftree Sascha Hauer
2018-06-06  7:11 ` [PATCH 2/6] ppc: bootm: rename variables Sascha Hauer
2018-06-06  7:11 ` [PATCH 3/6] ppc: bootm: remove unnecessary parameter Sascha Hauer
2018-06-06  7:11 ` [PATCH 4/6] ppc: bootm: Drop usage of data->oftree Sascha Hauer
2018-06-06  7:11 ` [PATCH 5/6] bootm: Drop data->oftree Sascha Hauer
2018-06-06  7:11 ` [PATCH 6/6] bootm: Split bootm_load_devicetree into two functions Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180606071129.28884-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox