1 // SPDX-License-Identifier: GPL-2.0+
4 * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
11 int axi_read(struct udevice *dev, ulong address, void *data,
14 struct axi_ops *ops = axi_get_ops(dev);
19 return ops->read(dev, address, data, size);
22 int axi_write(struct udevice *dev, ulong address, void *data,
25 struct axi_ops *ops = axi_get_ops(dev);
30 return ops->write(dev, address, data, size);
33 UCLASS_DRIVER(axi) = {
36 .post_bind = dm_scan_fdt_dev,
37 .flags = DM_UC_FLAG_SEQ_ALIAS,