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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Mar 2017 01:57:14 +0000 (09:57 +0800)
commit21096328c97e707f2190b26a06d8b805551a543d
tree3ad00015e1d2d02adc2197bedd483f5d8c79bccf
parent6ef213d6219456ea5e4df7d201b4a3384e06783b
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD

commit 4ab18701c66552944188dbcd0ce0012729baab84 upstream.

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.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/kernel/setup.c