aboutsummaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-06 09:21:25 -0400
committerTom Rini <trini@konsulko.com>2022-04-25 16:04:05 -0400
commit11232139e399e70641410356ae6b278113d90f16 (patch)
tree9c3dd5ad6eec3fc3af2f9ac6c0e14f99122c4394 /lib/fdtdec.c
parent8cfac237b9814d52c843e939a05fc211ba3906de (diff)
downloadu-boot-11232139e399e70641410356ae6b278113d90f16.zip
u-boot-11232139e399e70641410356ae6b278113d90f16.tar.gz
u-boot-11232139e399e70641410356ae6b278113d90f16.tar.bz2
nds32: Remove the architectureWIP/25Apr2022
As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index e2208cb..e20f6aa 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -251,14 +251,7 @@ int fdtdec_get_pci_bar32(const struct udevice *dev, struct fdt_pci_addr *addr,
barnum = (barnum - PCI_BASE_ADDRESS_0) / 4;
- /*
- * There is a strange toolchain bug with nds32 which complains about
- * an undefined reference here, even if fdtdec_get_pci_bar32() is never
- * called. An #ifdef seems to be the only fix!
- */
-#if !IS_ENABLED(CONFIG_NDS32)
*bar = dm_pci_read_bar32(dev, barnum);
-#endif
return 0;
}