pci: Drop DM_PCI check from fdtdec
authorSimon Glass <sjg@chromium.org>
Mon, 2 Aug 2021 00:54:18 +0000 (18:54 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 13 Sep 2021 22:23:13 +0000 (18:23 -0400)
commitb717f2f2d18e630f276cce524d4d22152ada501b
tree43033b4414539f8947508b624ca65ce62ddff24d
parent26543cc6fa69adb65cd40657d4ddb8ea9b1ba9d5
pci: Drop DM_PCI check from fdtdec

We don't need this check anymore since when PCI is enabled, driver model
is always used.

Sadly this doesn't work with nds32 for some reason to do with the
toolchain. Add a work-around for that.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c