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