[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7aa70809eff3f32d821761d2a763e4fb72ecc8fb.1609844956.git.viresh.kumar@linaro.org>
Date: Tue, 5 Jan 2021 16:54:17 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Pantelis Antoniou <pantelis.antoniou@...sulko.com>,
Frank Rowand <frowand.list@...il.com>,
Rob Herring <robh+dt@...nel.org>
Cc: Viresh Kumar <viresh.kumar@...aro.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
Vincent Guittot <vincent.guittot@...aro.org>,
Bill Mills <bill.mills@...aro.org>, tero.kristo@...il.com
Subject: [RFC 2/2] scripts: dtc: Handle outform dtbo
Update dtc compiler to accept dtbo as an outform.
Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
---
I feel that this needs to go directly to
https://git.kernel.org/pub/scm/utils/dtc/dtc.git
Right ? I will send it separately if the idea is accepted here.
---
scripts/dtc/dtc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/dtc/dtc.c b/scripts/dtc/dtc.c
index bdb3f5945699..40fa7128b3d6 100644
--- a/scripts/dtc/dtc.c
+++ b/scripts/dtc/dtc.c
@@ -357,6 +357,8 @@ int main(int argc, char *argv[])
#endif
} else if (streq(outform, "dtb")) {
dt_to_blob(outf, dti, outversion);
+ } else if (streq(outform, "dtbo")) {
+ dt_to_blob(outf, dti, outversion);
} else if (streq(outform, "asm")) {
dt_to_asm(outf, dti, outversion);
} else if (streq(outform, "null")) {
--
2.25.0.rc1.19.g042ed3e048af
Powered by blists - more mailing lists