xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 3 Jan 2017 17:37:34 +0000 (09:37 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 1 Mar 2017 20:31:52 +0000 (12:31 -0800)
commit4ab18701c66552944188dbcd0ce0012729baab84
tree5847c2cecf613622ac9a0f28b2f8a145a9f82b79
parent69973b830859bc6529a7a0468ba0d80ee5117826
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD

FDT tag parsing is not related to whether BLK_DEV_INITRD is configured
or not, move it out of the corresponding #ifdef/#endif block.
This fixes passing external FDT to the kernel configured w/o
BLK_DEV_INITRD support.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c