xref: /openbmc/u-boot/arch/sandbox/include/asm/mbox.h (revision 8961b524)
1*8961b524SStephen Warren /*
2*8961b524SStephen Warren  * Copyright (c) 2016, NVIDIA CORPORATION.
3*8961b524SStephen Warren  *
4*8961b524SStephen Warren  * SPDX-License-Identifier: GPL-2.0
5*8961b524SStephen Warren  */
6*8961b524SStephen Warren 
7*8961b524SStephen Warren #ifndef __SANDBOX_MBOX_H
8*8961b524SStephen Warren #define __SANDBOX_MBOX_H
9*8961b524SStephen Warren 
10*8961b524SStephen Warren #include <common.h>
11*8961b524SStephen Warren 
12*8961b524SStephen Warren #define SANDBOX_MBOX_PING_XOR 0x12345678
13*8961b524SStephen Warren 
14*8961b524SStephen Warren struct udevice;
15*8961b524SStephen Warren 
16*8961b524SStephen Warren int sandbox_mbox_test_get(struct udevice *dev);
17*8961b524SStephen Warren int sandbox_mbox_test_send(struct udevice *dev, uint32_t msg);
18*8961b524SStephen Warren int sandbox_mbox_test_recv(struct udevice *dev, uint32_t *msg);
19*8961b524SStephen Warren int sandbox_mbox_test_free(struct udevice *dev);
20*8961b524SStephen Warren 
21*8961b524SStephen Warren #endif
22