[U-Boot-Users] [PATCH 5/8] [new uImage] Add libfdt support to mkimage

Marian Balakowicz m8 at semihalf.com
Mon Mar 3 11:01:58 CET 2008


Jerry Van Baren wrote:
> Marian Balakowicz wrote:
>> From: Bartlomiej Sieka <tur at semihalf.com>
>>
>> Signed-off-by: Bartlomiej Sieka <tur at semihalf.com>
>> ---
>>
>>  Makefile              |    3 +++
>>  include/libfdt_env.h  |    4 ++++
>>  libfdt/fdt.c          |    4 ++++
>>  libfdt/fdt_ro.c       |    4 ++++
>>  libfdt/fdt_rw.c       |    4 ++++
>>  libfdt/fdt_strerror.c |    4 ++++
>>  libfdt/fdt_wip.c      |    4 ++++
>>  tools/.gitignore      |    7 +++++++
>>  tools/Makefile        |   51
>> ++++++++++++++++++++++++++++++++++++++++++++++---
>>  tools/fdt_host.h      |   28 +++++++++++++++++++++++++++
>>  tools/mkimage.h       |    1 +
>>  11 files changed, 111 insertions(+), 3 deletions(-)
>>  create mode 100644 tools/fdt_host.h
> 
> Arrrr, I'm not wild about this, but I cannot suggest a better way. :-(
> 
> All these (trivial) touches to libfdt/* are annoying and could cause
> patch tracking of the dtc/libfdt source to break.  I guess that is the
> risk we live with unless or until someone comes up with a better way.  :-(

Right, this is ugly, I don't like that solution either. I'd be glad to
have something cleaner but I spent a few moments on it and can't
figure out anything better and simple enough.

Cheers,
m.




More information about the U-Boot mailing list