]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pci_indirect.c
Add support for CompactFlash on ATC board
[karo-tx-uboot.git] / drivers / pci_indirect.c
index f7b442245199775f87defaae437610d7b7f5a634..fdf4d130a5fe4ebbcb793109e42b3eeefffbf98f 100644 (file)
@@ -21,7 +21,7 @@
 #define cfg_read(val, addr, type, op)  *val = op((type)(addr))
 #define cfg_write(val, addr, type, op) op((type *)(addr), (val))
 
-#ifdef CONFIG_PM826
+#if defined(CONFIG_PM826) || defined(CONFIG_ATC)
 #define INDIRECT_PCI_OP(rw, size, type, op, mask)                       \
 static int                                                              \
 indirect_##rw##_config_##size(struct pci_controller *hose,              \