Skip to content
  • Simon Glass's avatar
    fdt: Add support for embedded device tree (CONFIG_OF_EMBED) · bbb0b128
    Simon Glass authored and Wolfgang Denk's avatar Wolfgang Denk committed
    
    
    This new option allows U-Boot to embed a binary device tree into its image
    to allow run-time control of peripherals. This device tree is for U-Boot's
    own use and is not necessarily the same one as is passed to the kernel.
    
    The device tree compiler output should be placed in the $(obj)
    rooted tree. Since $(OBJCOPY) insists on adding the path to the
    generated symbol names, to ensure consistency it should be
    invoked from the directory where the .dtb file is located and
    given the input file name without the path.
    
    This commit contains my entry for the ugliest Makefile / shell interaction
    competition.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    bbb0b128