xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Oct 2021 18:36:01 +0000 (11:36 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Oct 2021 19:19:05 +0000 (12:19 -0700)
commitf3d7c2cdf6dc0d5402ec29c3673893b3542c5ad1
tree5e270bb9e65742feb8534c0dbd4b0737227009be
parent6489f8d0e1d93a3603d8dad8125797559e4cf2a2
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF

Use platform data to initialize xtfpga device drivers when CONFIG_USE_OF
is not selected. This fixes xtfpga networking when CONFIG_USE_OF is not
selected but CONFIG_OF is.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/xtfpga/setup.c