• 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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    6c64d50e
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...