u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] fit: Allow external data for FDTs
@ 2021-06-25 16:58 John Keeping
  2021-06-26 18:32 ` Simon Glass
  2021-07-23 12:34 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: John Keeping @ 2021-06-25 16:58 UTC (permalink / raw)
  To: u-boot
  Cc: Simon Glass, Sebastian Reichel, Michal Simek, Ravik Hasija, John Keeping

Switch to fit_image_get_data_and_size() for consistency with all other
data loaded from FIT.

Signed-off-by: John Keeping <john@metanate.com>
---
 common/image-fit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/image-fit.c b/common/image-fit.c
index 94501b1071..4c5a24806d 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -1772,7 +1772,8 @@ int fit_conf_find_compat(const void *fit, const void *fdt)
 			}
 
 			/* search in this config's kernel FDT */
-			if (fit_image_get_data(fit, kfdt_noffset, &fdt, &sz)) {
+			if (fit_image_get_data_and_size(fit, kfdt_noffset,
+							&fdt, &sz)) {
 				debug("Failed to get fdt \"%s\".\n", kfdt_name);
 				continue;
 			}
-- 
2.32.0


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

* Re: [PATCH] fit: Allow external data for FDTs
  2021-06-25 16:58 [PATCH] fit: Allow external data for FDTs John Keeping
@ 2021-06-26 18:32 ` Simon Glass
  2021-07-23 12:34 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-06-26 18:32 UTC (permalink / raw)
  To: John Keeping
  Cc: U-Boot Mailing List, Sebastian Reichel, Michal Simek, Ravik Hasija

On Fri, 25 Jun 2021 at 10:58, John Keeping <john@metanate.com> wrote:
>
> Switch to fit_image_get_data_and_size() for consistency with all other
> data loaded from FIT.
>
> Signed-off-by: John Keeping <john@metanate.com>
> ---
>  common/image-fit.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

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

* Re: [PATCH] fit: Allow external data for FDTs
  2021-06-25 16:58 [PATCH] fit: Allow external data for FDTs John Keeping
  2021-06-26 18:32 ` Simon Glass
@ 2021-07-23 12:34 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-07-23 12:34 UTC (permalink / raw)
  To: John Keeping
  Cc: u-boot, Simon Glass, Sebastian Reichel, Michal Simek, Ravik Hasija

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

On Fri, Jun 25, 2021 at 05:58:04PM +0100, John Keeping wrote:

> Switch to fit_image_get_data_and_size() for consistency with all other
> data loaded from FIT.
> 
> Signed-off-by: John Keeping <john@metanate.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2021-07-23 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 16:58 [PATCH] fit: Allow external data for FDTs John Keeping
2021-06-26 18:32 ` Simon Glass
2021-07-23 12:34 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).