// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2019 Intel Corporation <www.intel.com>
 */

#include <cache.h>
#include <dm.h>
#include <errno.h>
#include <asm/global_data.h>

DECLARE_GLOBAL_DATA_PTR;

static int sandbox_get_info(struct udevice *dev, struct cache_info *info)
{
	info->base = 0x11223344;

	return 0;
}

static int sandbox_enable(struct udevice *dev)
{
	return 0;
}

static int snadbox_disable(struct udevice *dev)
{
	return 0;
}


static const struct cache_ops sandbox_cache_ops = {
	.get_info	= sandbox_get_info,
	.enable		= sandbox_enable,
	.disable	= snadbox_disable,
};

static const struct udevice_id sandbox_cache_ids[] = {
	{ .compatible = "sandbox,cache" },
	{ }
};

U_BOOT_DRIVER(cache_sandbox) = {
	.name		= "cache_sandbox",
	.id		= UCLASS_CACHE,
	.of_match	= sandbox_cache_ids,
	.ops		= &sandbox_cache_ops,
};
