sh: fix build regression with CONFIG_OF && !CONFIG_OF_FLATTREE
authorRich Felker <dalias@libc.org>
Wed, 1 Jun 2016 22:21:45 +0000 (22:21 +0000)
committerRich Felker <dalias@libc.org>
Sun, 31 Jul 2016 03:33:32 +0000 (03:33 +0000)
commit03767daa1387f87619404bfe108ebb6aa5826e00
tree96d098d95c77dea3eaa941cdd4eaecf931955e20
parentb46ed37042fa21ce3e888310462902044df98321
sh: fix build regression with CONFIG_OF && !CONFIG_OF_FLATTREE

Such a configuration could only be selected by manually selecting
CONFIG_OF; SH_DEVICE_TREE selects both. The affected code is using the
flat DTB at boot time and thus rightfully should depend on
OF_FLATTREE, not just OF.

Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/kernel/head_32.S
arch/sh/kernel/setup.c