[U-Boot] [PATCH V3] Fix FIT and fdt blob support to have CONFIG_OF_LIBFDT and CONFIG_FIT independant

Wolfgang Denk wd at denx.de
Sat Dec 13 23:43:10 CET 2008


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <1227530031-15268-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> FDT support is used for both FIT style images and architectures (ppc, m68k, sparc)
> that can pass a fdt blob to an OS..
> 
> For other arch and board which do not pass a fdt blob to an OS but want to use
> the new uImage format, we just need FIT support (ex : ARM).
> 
> Now we can have the 4 following configurations :
> 
> 1) FIT only             CONFIG_FIT
> 2) fdt blob only        CONFIG_OF_LIBFDT
> 3) both                 CONFIG_OF_LIBFDT & CONFIG_FIT
> 4) none                 none
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> actually not clean integration have been found to avoid
> defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)
> by replacing it with the 2 news macro.
> 
> removing arch macro ifdef and use 2 new config for the functionnality to enable
> so we introduce these :
> 	CONFIG_BOOT_INIT_RAMDISK
> 
> 	Define this if you want support for relocating init ramdisk
> 
> 	CONFIG_BOOT_INIT_RAMDISK
> 
> 	Define this if you want support for allocate and initialize kernel
> 	information for booting
> 
> if someone have a good idea please send a patch
> 
> Best Regards,
> J.
>  common/image.c  |    2 ++
>  include/image.h |    4 ----
>  libfdt/Makefile |    8 ++++++--
>  3 files changed, 8 insertions(+), 6 deletions(-)

Aplied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I am pleased to see that we have differences.  May we together become
greater than the sum of both of us.
	-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4


More information about the U-Boot mailing list