xref: /openbmc/u-boot/arch/sandbox/include/asm/mbox.h (revision e8f80a5a)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0 */
28961b524SStephen Warren /*
38961b524SStephen Warren  * Copyright (c) 2016, NVIDIA CORPORATION.
48961b524SStephen Warren  */
58961b524SStephen Warren 
68961b524SStephen Warren #ifndef __SANDBOX_MBOX_H
78961b524SStephen Warren #define __SANDBOX_MBOX_H
88961b524SStephen Warren 
98961b524SStephen Warren #include <common.h>
108961b524SStephen Warren 
118961b524SStephen Warren #define SANDBOX_MBOX_PING_XOR 0x12345678
128961b524SStephen Warren 
138961b524SStephen Warren struct udevice;
148961b524SStephen Warren 
158961b524SStephen Warren int sandbox_mbox_test_get(struct udevice *dev);
168961b524SStephen Warren int sandbox_mbox_test_send(struct udevice *dev, uint32_t msg);
178961b524SStephen Warren int sandbox_mbox_test_recv(struct udevice *dev, uint32_t *msg);
188961b524SStephen Warren int sandbox_mbox_test_free(struct udevice *dev);
198961b524SStephen Warren 
208961b524SStephen Warren #endif
21