]> Git Repo - J-u-boot.git/blame - include/iommu.h
board: freescale: p1_p2_rdb_pc: Allow to compile without __SW_BOOT_SD macro
[J-u-boot.git] / include / iommu.h
CommitLineData
40dbf03d
MK
1#ifndef _IOMMU_H
2#define _IOMMU_H
3
4struct udevice;
5
6#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \
7 CONFIG_IS_ENABLED(IOMMU)
8int dev_iommu_enable(struct udevice *dev);
9#else
10static inline int dev_iommu_enable(struct udevice *dev)
11{
12 return 0;
13}
14#endif
15
16#endif
This page took 0.048696 seconds and 4 git commands to generate.