All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eugeniu Rosca <erosca@de.adit-jv.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/5] boot_get_fdt: clean up and use 'fdtaddr' as fallback for Android
Date: Mon, 1 Apr 2019 12:45:32 +0200	[thread overview]
Message-ID: <20190401104537.29801-1-erosca@de.adit-jv.com> (raw)

The main feature added in this series is being able to boot Android
images with empty/non-DTB contents in the second area by using the
address stored in the 'fdtaddr' environment variable. More details in
"fdt: boot_get_fdt: android: use ENV 'fdtaddr' as fallback".

This is combined with a number of small-sized (review-friendly) cleanup
patches, attempting to increase the readability of boot_get_fdt().
They are partitioned into functional (assumed to add a change in
runtime behavior) and non-functional changes.

Comments/thoughts appreciated! TIA!

Changes in v2:
 - Dropped centralized fdt_len verification since it only makes sense
   for DT blobs embedded in the U-Boot-supported images (in which case
   two FDT size values are available and can be compared, one from the
   booted image via an image-specific API and one from the FDT itself
   via fdt_totalsize). Centralized fdt_len verification doesn't make
   much sense in case of user-provided DT blobs (via boot{m,*} command
   or via some environment variable)
 - Fixed 'booti' regression on arm64/R-Car3
 - Fixed a number of typos
 - Link v1: https://patchwork.ozlabs.org/patch/1071586/

Eugeniu Rosca (5):
  fdt: boot_get_fdt: remove redundant zeroing out
  fdt: boot_get_fdt: really boot w/o FDT when "goto no_fdt"
  fdt: boot_get_fdt: simplify no_fdt handling (non-functional)
  fdt: boot_get_fdt: android: compress handling (non-functional)
  fdt: boot_get_fdt: android: use ENV 'fdtaddr' as fallback

 common/image-fdt.c | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

-- 
2.21.0

             reply	other threads:[~2019-04-01 10:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 10:45 Eugeniu Rosca [this message]
2019-04-01 10:45 ` [U-Boot] [PATCH v2 1/5] fdt: boot_get_fdt: remove redundant zeroing out Eugeniu Rosca
2019-04-18  4:33   ` Simon Glass
2019-04-18 10:18     ` Eugeniu Rosca
2019-04-20  1:36       ` Simon Glass
2019-04-22  2:38       ` sjg at google.com
2019-04-25 17:00     ` Eugeniu Rosca
2019-04-01 10:45 ` [U-Boot] [PATCH v2 2/5] fdt: boot_get_fdt: really boot w/o FDT when "goto no_fdt" Eugeniu Rosca
2019-04-21 19:26   ` Simon Glass
2019-04-22  2:38   ` sjg at google.com
2019-04-25 17:04     ` Eugeniu Rosca
2019-04-01 10:45 ` [U-Boot] [PATCH v2 3/5] fdt: boot_get_fdt: simplify no_fdt handling (non-functional) Eugeniu Rosca
2019-04-21 19:26   ` Simon Glass
2019-04-22  2:38   ` sjg at google.com
2019-04-01 10:45 ` [U-Boot] [PATCH v2 4/5] fdt: boot_get_fdt: android: compress " Eugeniu Rosca
2019-04-21 19:26   ` Simon Glass
2019-04-22  2:38   ` sjg at google.com
2019-04-01 10:52 ` [U-Boot] [PATCH v2 5/5] fdt: boot_get_fdt: android: use ENV 'fdtaddr' as fallback Eugeniu Rosca
2019-04-01 15:26   ` Eugeniu Rosca
2019-04-21 19:26   ` Simon Glass
2019-04-22  2:38   ` sjg at google.com

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=20190401104537.29801-1-erosca@de.adit-jv.com \
    --to=erosca@de.adit-jv.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.