All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeffy Chen <jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
To: u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.org
Cc: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>,
	Joe Hershberger <joe.hershberger-acOepvfBmUk@public.gmane.org>,
	sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
	Jeffy Chen <jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
	Paul Kocialkowski <contact-W9ppeneeCTY@public.gmane.org>,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Peng Fan <Peng.Fan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Max Krummenacher
	<max.krummenacher-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
Subject: [PATCH v2 1/6] common/image-fdt.c: Make boot_get_fdt() perform a check for Android images
Date: Fri,  8 Jan 2016 18:33:27 +0800	[thread overview]
Message-ID: <1452249212-25183-2-git-send-email-jeffy.chen@rock-chips.com> (raw)
In-Reply-To: <1452249212-25183-1-git-send-email-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>

Android images don't have a fdt.

Signed-off-by: Jeffy Chen <jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
Acked-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---

Changes in v2: None

 common/image-fdt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/image-fdt.c b/common/image-fdt.c
index 5e4e5bd..41aaa0d 100644
--- a/common/image-fdt.c
+++ b/common/image-fdt.c
@@ -379,6 +379,10 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
 				       (long)fdt_addr);
 			}
 			break;
+#ifdef CONFIG_ANDROID_BOOT_IMAGE
+		case IMAGE_FORMAT_ANDROID:
+			goto no_fdt;
+#endif
 		default:
 			puts("ERROR: Did not find a cmdline Flattened Device Tree\n");
 			goto no_fdt;
-- 
2.1.4

WARNING: multiple messages have this Message-ID (diff)
From: Jeffy Chen <jeffy.chen@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/6] common/image-fdt.c: Make boot_get_fdt() perform a check for Android images
Date: Fri,  8 Jan 2016 18:33:27 +0800	[thread overview]
Message-ID: <1452249212-25183-2-git-send-email-jeffy.chen@rock-chips.com> (raw)
In-Reply-To: <1452249212-25183-1-git-send-email-jeffy.chen@rock-chips.com>

Android images don't have a fdt.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
---

Changes in v2: None

 common/image-fdt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/image-fdt.c b/common/image-fdt.c
index 5e4e5bd..41aaa0d 100644
--- a/common/image-fdt.c
+++ b/common/image-fdt.c
@@ -379,6 +379,10 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
 				       (long)fdt_addr);
 			}
 			break;
+#ifdef CONFIG_ANDROID_BOOT_IMAGE
+		case IMAGE_FORMAT_ANDROID:
+			goto no_fdt;
+#endif
 		default:
 			puts("ERROR: Did not find a cmdline Flattened Device Tree\n");
 			goto no_fdt;
-- 
2.1.4

  parent reply	other threads:[~2016-01-08 10:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08 10:33 [PATCH v2 0/6] rockchip: kylin: Boot with android boot image Jeffy Chen
2016-01-08 10:33 ` [U-Boot] " Jeffy Chen
     [not found] ` <1452249212-25183-1-git-send-email-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-01-08 10:33   ` Jeffy Chen [this message]
2016-01-08 10:33     ` [U-Boot] [PATCH v2 1/6] common/image-fdt.c: Make boot_get_fdt() perform a check for Android images Jeffy Chen
2016-01-08 10:33   ` [PATCH v2 2/6] ARM: bootm: Try to use relocated ramdisk Jeffy Chen
2016-01-08 10:33     ` [U-Boot] " Jeffy Chen
     [not found]     ` <1452249212-25183-3-git-send-email-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-01-11 16:58       ` Simon Glass
2016-01-11 16:58         ` [U-Boot] " Simon Glass
2016-01-08 10:33   ` [PATCH v2 3/6] rockchip: rk3036: Bind GPIO banks Jeffy Chen
2016-01-08 10:33     ` [U-Boot] " Jeffy Chen
2016-01-08 10:33   ` [PATCH v2 4/6] rockchip: kylin: Add default gpt partition table Jeffy Chen
2016-01-08 10:33     ` [U-Boot] " Jeffy Chen
2016-01-08 10:33   ` [PATCH v2 5/6] rockchip: kylin: Enable boot with android boot image Jeffy Chen
2016-01-08 10:33     ` [U-Boot] " Jeffy Chen
2016-01-08 10:33   ` [PATCH v2 6/6] rockchip: kylin: Check fastboot request Jeffy Chen
2016-01-08 10:33     ` [U-Boot] " Jeffy Chen
     [not found]     ` <1452249212-25183-7-git-send-email-jeffy.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-01-13  2:40       ` Jeffy Chen
2016-01-13  2:40         ` [U-Boot] " Jeffy Chen

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=1452249212-25183-2-git-send-email-jeffy.chen@rock-chips.com \
    --to=jeffy.chen-tnx95d0mmh7dzftrwevzcw@public.gmane.org \
    --cc=Peng.Fan-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=contact-W9ppeneeCTY@public.gmane.org \
    --cc=joe.hershberger-acOepvfBmUk@public.gmane.org \
    --cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=marex-ynQEQJNshbs@public.gmane.org \
    --cc=max.krummenacher-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org \
    --cc=sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.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 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.