• Masahiro Yamada's avatar
    ARM: dts: uniphier: move aliases node up to satisfy fdtgrep · 6c64d50e
    Masahiro Yamada authored
    Currently, fdtgrep would not accept uniphier-ph1-ld20-ref.dtb
    and uniphier-ph1-ld11-ref.dtb unless the aliases node comes
    the first in the root node.
    
    $ make -s uniphier_pxs2_ld6b_defconfig
    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-ld20-ref
      [snip]
      LDS     spl/u-boot-spl.lds
      LD      spl/u-boot-spl
      OBJCOPY spl/u-boot-spl-nodtb.bin
      FDTGREP spl/u-boot-spl.dtb
    Error at 'fdt_find_regions': FDT_ERR_BADLAYOUT
    /aliases node must come before all other nodes
    Error: FDT_ERR_BADMAGIC
    make[1]: *** [spl/u-boot-spl.dtb] Error 1
    make: *** [spl/u-boot-spl] Error 2
    
    This commit moves the aliases node as the error message from the
    fdtgrep tool suggests, although this requirement does not sound
    reasonable to me.
    Signed-off-by: 's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    6c64d50e
Name
Last commit
Last update
..
arc Loading commit data...
arm Loading commit data...
avr32 Loading commit data...
blackfin Loading commit data...
m68k Loading commit data...
microblaze Loading commit data...
mips Loading commit data...
nds32 Loading commit data...
nios2 Loading commit data...
openrisc Loading commit data...
powerpc Loading commit data...
sandbox Loading commit data...
sh Loading commit data...
sparc Loading commit data...
x86 Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...