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)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:04:26 +0000 (14:04 +0200)
commit0c51e5d46aeba36a10f0b7a71901bde4ff4bc76e
treea11021cf3bc2650cd5acf880dc9e46d7f43fad78
parent71116d6a8d98c68f7561af3c641dd0764b69d73a
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: Willy Tarreau <w@1wt.eu>
arch/xtensa/kernel/setup.c