c6x: use common built-in dtb support
authorRob Herring <robh@kernel.org>
Wed, 1 Aug 2018 21:00:12 +0000 (15:00 -0600)
committerRob Herring <robh@kernel.org>
Tue, 2 Oct 2018 14:22:49 +0000 (09:22 -0500)
commitbe7cd2df1d22d29e5f23ce8744fc465cc07cc2bc
treea4cd426bc23d72fab2a595f149dcbf353cd23b6a
parenta91c614510478598051e8c49adb9863ee47959ec
c6x: use common built-in dtb support

Using the common build support for built-in dtb files just requires
adding a .dtb.o target to obj-y.

The dtb now needs to be copied when unflattened because an init section
is used now.

Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: linux-c6x-dev@linux-c6x.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/c6x/boot/dts/Makefile
arch/c6x/boot/dts/linked_dtb.S [deleted file]
arch/c6x/include/asm/sections.h
arch/c6x/kernel/setup.c
arch/c6x/kernel/vmlinux.lds.S