1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019 Intel Corporation <www.intel.com>
10 int cache_get_info(struct udevice *dev, struct cache_info *info)
12 struct cache_ops *ops = cache_get_ops(dev);
17 return ops->get_info(dev, info);
20 int cache_enable(struct udevice *dev)
22 struct cache_ops *ops = cache_get_ops(dev);
27 return ops->enable(dev);
30 int cache_disable(struct udevice *dev)
32 struct cache_ops *ops = cache_get_ops(dev);
37 return ops->disable(dev);
40 UCLASS_DRIVER(cache) = {
43 .post_bind = dm_scan_fdt_dev,