projects
/
platform
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
spl: Migrate SYS_SATA_FAT_BOOT_PARTITION to Kconfig
[platform/kernel/u-boot.git]
/
include
/
iommu.h
1
#ifndef _IOMMU_H
2
#define _IOMMU_H
3
4
struct udevice;
5
6
#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \
7
CONFIG_IS_ENABLED(IOMMU)
8
int dev_iommu_enable(struct udevice *dev);
9
#else
10
static inline int dev_iommu_enable(struct udevice *dev)
11
{
12
return 0;
13
}
14
#endif
15
16
#endif