lkml.org 
[lkml]   [2021]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC 2/2] scripts: dtc: Handle outform dtbo
    Date
    Update dtc compiler to accept dtbo as an outform.

    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.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
    \
     
     \ /
      Last update: 2021-01-05 12:28    [W:3.350 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site